Remove lint

Looks like leftovers from a merge.
Merge pull request #161 from azavea/fix/jcw/remove-lint-2014-12-18

Remove lint
Add CSRF protection for AJAX calls

Without this setup, $.ajax POSTs and DELETEs fail.
Register and cancel from event page via AJAX

I extracted the RSVP markup into a partial so it can be rendered and
returned as the response from the register and unregister views.

The workflow for making an AJAX request and replacing content with the
response was not specific to event registration, so I implemented a
reusable fetchAndReplace function.