moved ReportDB (indexdb wrapper) into its own angular service