fixes for CRM-13221

----------------------------------------
* CRM-13221: postProcess hook doesn't fire when creating an event
  http://issues.civicrm.org/jira/browse/CRM-13221
Merge pull request #1442 from kurund/CRM-13221

fixes for CRM-13221