Added .gitignore
added .jshintrc
whitespace fixes
Added command line argument support
moved argument parsing to own file
Simplified CLI and fixed a typo in arg parser
Merging Theo's argument parsing work branch.