Start porting to docopt.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>