Added more event triggers.
Removed event sql from index.php
Added product_id to delete product event (it is not passed from controller in a way it can be identified)
Separated out the Event from controller while maintaining usability.

Events now live in a separate structure and cannot be directly accessed.
Merge branch 'master' into Events-feature
Added new login/out events
Merge branch 'master' into Events-feature