Changed command action to allow all commands via JSON strings

- Added test for findAndModify

The 'command' action could only be used for very simple commands containing only the command-name. This PR fixes it and adds the possibility to send other commands like findAndModify to the mongo db.