Use docopt for flag parsing

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>