Added a polling function waitfor that should handle the polling to the
reporting api service.  Also added the dependency to use datomic