Update .gitignore, add rules for vim, coverage, tox and python eggs
Add tests for broken csrf_token
Fix bugs with broken csrf_token