Better protocol validation in set_url_scheme(). Merges [25319] to 3.6.

Built from https://develop.svn.wordpress.org/branches/3.6@25324


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loose validation for is_serialized() in maybe_serialize(). Merges [25320] to 3.6.

Built from https://develop.svn.wordpress.org/branches/3.6@25325


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
3.6.1-RC1

Built from https://develop.svn.wordpress.org/branches/3.6@25326


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25288 1a063a9b-81f0-0310-95a4-ce76da25c4cd