When in text output mode, print an error on an invalid command...

 * ... in JSON output mode, no response for invalid commands.
Merge pull request #81 from folecr/jsdb

When in text output mode, print an error on an invalid command...