Convert to docopt for commandline parsing

And also do a bit of clean up while I'm at it.
Add docopt as dependency for project.
Merge pull request #14 from foobacca/docopt

Convert to docopt for commandline parsing