Validation error for negative limit and offset in search.
Type guessing should not fail for empty values
Improved the datastore docs
Add notes on _table_metadata view.
Allow usage of `id` as an alias for `resource_id`
Auto populate some of context in get_action()
[#1635] user_dictize() don't crash if no context['user']

Normally 'user' would always be in context (and would be None if no user
was logged in) but if user_dictize() was called via an internal function
calling a logic action function via get_action(), and that internal
function neglected to put 'user': None in context, then user_dictize()
would raise KeyError. (An example of this is the
get_and_send_notifications_for_all_users() that I'm about to commit
after this.)

May as well just behave as if 'user': None was in context instead.
[#1635] Remove an unused variable
[#1635] Initial implementation of email notifications for activity streams

ckan/model/user.py
  Added @classmethod all()

ckan/model/dashboard.py
  Added last_activity_stream_email_notification and @classmethods
  get_last_activity_stream_email_notification,
  update_last_activity_stream_email_notification

logic/action/get.py:
 Added dashboard_email_notification_last_sent and get_email_notifications
 actions. These may not really need to be action functions as they may only be
 needed internally.

ckan/lib/email_notifications.py
  This is the email notifier job meant to be run by paster (but there's no
  paster command for it yet)

ckan/tests/lib/test_email_notifications.py
  The beginning of some tests
Merge branch 'master' of github.com:okfn/ckan into 1635-feature-email-notifications-for-activity-streams

Conflicts:
	ckan/public/base/less/iehacks.less
[#1635] Fix up the first couple of tests, add in plan for some more
[#1635] Implement a couple more tests
Merge branch 'master' of github.com:okfn/ckan into 1635-feature-email-notifications-for-activity-streams
[#1635] Delete unused action function
Merge branch 'master' into autofix_config_get_action
Fixes to the get action wrapper for no context and extra params
We need to pass some values through the wrapper
Demo get_action wrapper with user controller
Merge branch 'master' of github.com:okfn/ckan into 1635-feature-email-notifications-for-activity-streams
[#1635] Rename dashboard_mark_activities_old

Change long name dashboard_mark_all_new_activities_as_old ->
dashboard_mark_activities_old, also move it from get.py to update.py where it
belongs.