import the compat module from actstream, not from djangoraitings

This replaces the PR from justquick/django-activity-stream/pull/145
I did not see this commit previously: 82536b1140e0c918d994808e2e93ad70832e0810

This will fix the migrations so they work with django 1.4, and django 1.5 with a custom user model.