Refactored the way that custom post types where handled.

Fixed bug relating to the registration of BuddyPress activities.
Added working activity feed for fossil updates