escape line endings before attempting to convert to json
Merge branch 'escape_line_endings_in_json' into access_node_attributes_and_parents_no_obsolete

Conflicts:
	lib/capybara/poltergeist/client/compiled/web_page.js
	lib/capybara/poltergeist/client/web_page.coffee