Moved event generation from model to db.php.  does not work
Merge branch 'master' of github.com:Castcloud/Castcloud