Tabs -> spaces.
Added two small test files.
Move license to a separate file.
Switch to argparse from docopt.
Remove debugging code.
Added setup.py for automatic installation.
Rename of --tmp-dir argument to better match the -i form.
Merge pull request #1 from roryk/master

Small refactor for some things