activity restructure fixes
added handler for activity record types
removed debugging
removed unwnated code
Merge pull request #69 from kurund/views-fixes

Views fixes related to activity restructuring