Add Edit Integration Test

Add test for edit. Add database_cleaner gem for ajax testing. Add
poltergeist for ajax testing.