Merge the r1480344 group from trunk:

 * r1480344, r1480412, r1480442, r1480738, r1480765, r1482479, r1482524,
   r1482528, r1482536, r1486931
   Fix Ruby binding tests on Windows and support Ruby 1.9[1].
   Justification:
     Running the test suite is important for, you know, testing.
   Notes:
     Bindings changes, so can go into 1.8.0.  [1] Ruby 1.9 doesn't quite
     yet work on Windows, but this gets us part way there, so there is no
     compelling reason not to include with this bunch.
   Votes:
     +1: pburba
     +0: danielsh


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.8.x@1487225 13f79535-47bb-0310-9956-ffa450edef68
Merge r1486915 from trunk:

 * r1486915
   Provide APR_BUFFERED flag when opening file in svn patch.
   Justification:
     One-line fix to dramatically improve svn patch performance. Without
     this fix applying 27 KB patch takes minutes.
   Votes:
     +1: ivan, stsp, danielsh, philip


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.8.x@1487226 13f79535-47bb-0310-9956-ffa450edef68
Merge r1486809 from trunk:

 * r1486809
   svnpubsub: fix MIME type of response.
   Justification:
     Be friendly to generic MIME/HTTP clients.
   Votes:
     +1: danielsh, brane, breser


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.8.x@1487227 13f79535-47bb-0310-9956-ffa450edef68