[BUG] Phalcon\Events\Manager->attach('event') fails when preceded by ->dettach('event').

Bug fix for: #1331
+ change of dettach to detach