Docopt refactor

This pull request contains a migration to use [docopt][0] for command-line parsing. I've moved a majority of the contents of the `makePlan.py` script into a `main` function. This makes the script more usable.

[0]: http://docopt.org/