CRM-15317 - Database error on event registration when event title is too long

https://issues.civicrm.org/jira/browse/CRM-15317
Merge pull request #4220 from atif-shaikh/CRM-15317NoticeFix

CRM-15317 - Database error on event registration when event title is too...