SD-351 : Server and API support for the Activity stream

Integrated with the base model for activity logging
and added some basic messages.
This will throw is user is not yet authenticated. For endpoints allowing public methods this will return 500.
Better to use hasattr.