fixed capybara poltergeist sync issues with modal; tests are now passing
implemented ajax requests for leaving a comment
removed unnecessary code in views and controllers