added simple manager for events

had to downgrade jquery-rails: there's a problem with jQuery 1.9.1 whereby the edit-in-place does not work. 

https://github.com/jquery/jquery/pull/1142