added StreamDb base class
MongoDb UserStreamDb implementation
implemented factory function to create MongoStreamDb instances
test functions for testing StreamDb methods