Refactor
Raise abort (flask specific) rather than Forbidden (Werkzeug specific) exception
Remove try/except and abort(403) from view functions
Fix tests: Unauthorized for anonymous users and not forbidden
Remove unused import
Added app/project authorization tests
Refactor
Change signature to match other resources auth functions
Merge branch 'master' into issue-hidden-project-to-auth

* master: (44 commits)
  Update default theme submodule
  Refactor: extracted class to a new module
  Updated doc images
  Updated docs
  Updated year in copyright
  Check empty string with len()
  Use application config cookie expiration parameter
  Moved test to package
  Fix and refactor
  Added tests for password view function
  Added tests for cookies
  Added test for cookies
  Test for cookies
  Call self attributes
  Refactor
  Fixes
  Fixed missing method
  Refactor
  Use default theme issue branch
  Refactor
  ...

Conflicts:
	pybossa/view/applications.py
Merge branch 'master' into issue-hidden-project-to-auth

* master: (69 commits)
  Added tests for remaining methods
  Fix bad names in tests
  Added test cases
  Added test cases
  Unit tests for password manager package
  Update tutorial to include pbs
  Removed unused imports
  Add pbs documentation.
  Refactor: tests
  Refactor: rename
  Refactor
  Added tests for project password protected view functions
  Add docstrings for sphinx
  Add docstrings for sphinx
  Add docstrings for sphinx
  Add docstrings for sphinx.
  Add docstrigns for sphinx
  Add docstrings for Sphinx
  Added password validation for all project actions
  Revert change in test
  ...

Conflicts:
	pybossa/view/applications.py
Merge pull request #844 from PyBossa/issue-hidden-project-to-auth

Issue hidden project to auth