Delete ideas using ajax on the index page.

This was quite painful. The redirect that the scaffold generated for
DELETE on /ideas/:id was generating an error, thus deleting the idea,
but not triggering the success event.