Replace database queries in repositories with Morphia

I'm a fan of expanding wildcard imports for readability - I don't know if there's an official style preference for DotCI.