Pass activity and context to activity_stream_string functions
Change the text of the activity stream string
Merge branch 'master' into 283-activity-stream-fixes
Fix activity name, correct function all, and remove print statement
Add code to create an activity
Create validator for new activity
test for create, update, and delete related item
Merge branch 'master' into 283-activity-stream-fixes
Remove print statement and ignore_auth
fix nits, check for datasets
Merge branch 'master' into 283-activity-stream-fixes
Fix a few more styling nitpicks
Merge branch 'master' into 283-activity-stream-fixes
Remove the apikey variable
Change the if condition around
Merge branch 'master' into 283-activity-stream-fixes
first cut at splitting the tests
[#382] Remove keys from extras when using convert_from_extras

If fields are moved to the top level, they should be removed from
extras. See #376 for discussion. Added test.

Basically adapt the converter for transforming this:

```
 ('extras', 1, '__extras'): {u'package_id': u'9fbddea7-31bf-4bf2-9595-ae7b5d9c1102',
                             u'revision_id': u'a13e1cf5-6ecb-4ea4-a4c2-f5c0d865e401'},
 ('extras', 1, 'deleted'): <ckan.lib.navl.dictization_functions.Missing object at 0x3c4a050>,
 ('extras', 1, u'id'): u'871cbb3c-8c93-4afa-bf2a-8f2123a7b365',
 ('extras', 1, u'key'): u'frequency',
 ('extras', 1, u'revision_timestamp'): '2013-02-22T17:33:11.577374',
 ('extras', 1, u'state'): u'active',
 ('extras', 1, u'value'): u'DAILY',
```
to this:

```
 ('frequency',): u'DAILY'
```
[#226] Implemented generic text highlighter for JSON, XML and plain text. Deleted jsonpreview.
unified indentation