moved nokogiri oustide of assets for use in production
added integration tests with capybara