Add better option parsing using docopt.

Fixes #2.