Rename 'length' field into 'size' as Meteor crashes when document has a field called 'length'.
Fix mongo write error when dot or dollar sign in key.
Pass mongo URI in configuration options.