Removed unnecessary line
Added redis flush after test modules
Merge branch 'master' into ratelimit-test-issue-669

* master: (36 commits)
  Privacy mode template
  Added user reference to api doc
  Removed info from list of allowed attributes in user api, as it could potentially export the oauth tokens. Refs #662
  New version
  removed repeated default locale constraint
  modified locale null field migration to fix the issue
  Removed email addres from allowed attributes to be exported via API
  Dumb format changes. Finished adapting branch to changes performed in #659 and #666
  Fixed badly merged fragment in hateoas.py
  added missing import
  changed tests to fit #659 api test refactor
  increased coverage in userAPI
  removed unnecesary _get(), _post(), _put(), _delete() methods from api_base
  added constraints to user model + alembic migration: locale and privacy_mode nullable=false
  removed hateoas links from user API exported attributes
  refactor and fixed issue with query limits
  Added test case
  added test case to userAPI for security concerns
  cleaned up imports and other stuff
  Refactor
  ...
Merge pull request #676 from PyBossa/ratelimit-test-issue-669

Ratelimit test issue 669