Fix trim arguments for Mongo Documents

`prepareArguments()` only processes arrays of arguments.
Create a new `prepareArgument()` to process a single argument
Use the new `prepareArgument()` to proces the document
Merge pull request #49 from mnmtanish/fix-bugs

Fix trim arguments for Mongo Documents