Default timeouts per function
Setup timeouts for app
Use new timeouts
Timeouts for anon and registered users
Default timeouts for cache
Config timeouts for cache
Use fine-grained cache timeouts. Refs #658
Fix importing method by using the get method
Merge branch 'master' into issue-658-cache-limits

Conflicts:
	pybossa/core.py
	pybossa/default_settings.py
	pybossa/extensions.py
Revert removed code from previous merge
Add documentation
Revert setup_debug_toolbar
Use timeouts from the app config file
Use timeouts from settings file
Use timeout TTL from config file
Fixes for stats
New config variables for cache timeouts
Consolidate timeout var names
Merge pull request #766 from PyBossa/issue-658-cache-limits

Issue 658 cache limits
Merge branch 'master' into issue-683-app-avatar