Return number of draft apps/projects
Add pretty_date filter to Jinja2
Add actions to recent activity feed
Fix pretty_date to accept float timestamps
Pass to accound index recent activity feed.
Only store the last 100 events
Added n_draft test cases
Merge pull request #832 from PyBossa/issue-831-draft-projects

Return number of draft apps/projects
Use test/default.py
Import db only in extensions.
Refactor changes
Import sentinel in the top
Minor fixes to avoid circular imports
Tests for new activity feed
Remove redundant action.
Refactor
Text max events saved are 100
Fix for passing the tests
Fix CKAN read-only mode for demo.ckan.org
Merge pull request #834 from PyBossa/issue-829-update

Issue 829 update