Escape multibyte line terminators in JSON encoding

Currently, json/encoding respects the JSON spec (as it should) which 
disallows \n and \r inside strings, escaping them as expected.

Unfortunately, ECMA-262 (Javascript) disallows not only \n and \r in 
strings, but "Line Terminators" which includes U+2028 and U+2029. 
See here: http://bclary.com/2004/11/07/#a-7.3

This pull request adds U+2028 and U+2029 to be escaped.

# Why? 

It's very common to see something like this in a Rails template:

<script type="text/javascript"> 
var posts = <%= @posts.to_json %>;
</script>

If U+2028 or U+2029 are part of any attributes output in the to_json
call, you will end up with an exception.
In Chrome: Uncaught SyntaxError: Unexpected token ILLEGAL 

# Why not?

This is JSON encoding, and the JSON spec is specific about how to 
encode strings. U+2028 and U+2029 don't get special treatment.

Just trying to start a discussion... what do you do in your apps
to deal with this? Is there a convention I'm missing?
asset guide, match application.rb snippets to the generated file [ci skip]

`if defined?(Bundler)` is no longer used in our current application.rb
fix HashWithIndifferentAccess#to_hash behaviour
Rails 4 has deprecated :order in has_many to use a lambda instead, update the guide accordingly
Fix typo "can exploited" with "can be exploited"
Add a few overview bullet points
Clean up the wording in a few places
document String#to_time exception
fix typo
Simple grammar updates
added to rdoc for unscope that default_scope wins
Capitalizing internet to Internet. [ci skip]
replace apostrophe with backquote for matching [ci skip]
Add some documentation for AM.mailer_name
Add a test case for comparing Rails versions
https://github.com/rails/rails/commit/558d402472b49c4c99bf6753d341d7aef2e25dd4
Merge pull request #10452 from rubys/rails_version_test

Add a test case for comparing Rails versions
Fixed bad tests to clean up after themselves.
Merge pull request #10457 from zenspider/squishy_test_order_dependencies

Fixed bad tests to clean up after themselves.
Make SchemaDumper emit "id: :uuid" when appropriate. Fixes #10451.
Relaxed jbuilder dependency in Gemfile template