ResultsDB integration in master *fireworks* (also ticket 408)