api/views: fix flake8 warnings

Warnings reported from
https://travis-ci.org/tsuru/mysqlapi/builds/31266855:

./mysqlapi/api/views.py:24:12: E713 test for membership should be 'not in'
./mysqlapi/api/views.py:58:12: E713 test for membership should be 'not in'