Adding optional json output format

and plugging in travis
Reverting my cleverness in commands.yml
Dealing with multi-line output better-er in json
Handling unnamed commands similar to human readable output
Making json format more query-friendly by grouping under keys
Properly handling array commands when making default json key
Stripping trailing underscores in key names too
Merge pull request #1 from travis-ci/db-json-output-too

Adding optional json output format