Adding tests, renaming jsonq to jsonq.py to allow importing, and adding a symlink to the jsonq executable

Also removed mock stdin (as suggested by the last PR), and cleaning up tests a bit more (also mentioned in the last PR).