Port of ActiveRecord nested attributes functionality for MongoMapper