Fix 'twitter rate'

The API now outputs rate limits for all the separate methods rather than a single global limit.

Also fixed some flake8 warnings in cmdline.py and updated .gitignore.

Fixes #249.