Update build.sh

On non-Darwin systems, no space was created between -lm and -lrt, causing the build to fail.
Output formatted as JSON.
Merge branch 'master' of https://github.com/phillipknauss/queryparser
Make output format selectable with command-line switch.
return 1 from main if parse failed.
return 1 from main if parse failed.
Add -h and --help to show the --json option
Cleanup.
Merge branch 'phillipknauss-master'
Improve README and add LICENSE.