Hook emhancement and minor fixes

Hi Brajesh, 

This pull request is to ask for the activity object to be passed to the `ac_notifier_activity_get_permalink` filter. With the object being passed, I can override permalinks on a per-activity basis.

Thanks, Christian