Removed non-used import
Added n_available_tasks function to cache in new /cache/helpers module
Added missing test docstrings
Added check_contributing_state function to cache
Add app contribute status to apps in home
Added test case anf fix in n_available_tasks
Added app contribute status under apps.index
Added app contribute status in apps.details
Added app contribute status in apps.settings
Added app contribute status in account.profile
Added util function to check a user id or ip
Refactor: moved function to cache/helpers
Refactor
Added missing import
Fix in tests
Refactor: use SQL for n_available_tasks
Use dictized apps istead of Apps
Merge branch 'master' into issue-690-customize-contributing-message-v2

* master: (69 commits)
  Fix in test_web
  Increase coverage
  Fix url
  Increase coverage
  Minor fixes
  Return 404 for non existent user
  Pass more app statistics to applications/stats.html template
  Increase coverage
  Increase coverage
  Increase coverage
  Increase coverage
  Increase coverage.
  Increase coverage.
  Increae coverage
  Increase coverage
  Increase coverage
  Increase coverage
  Return bool
  Increase coverage
  Fixes
  ...
Fix:change variable name
Improvements

Conflicts:
	pybossa/view/applications.py