Patch HTML5 to foster style,base,link,script from tables

* HTML5 library we use has a bug where it assumes that
  <style>, <base>, <meta>, <link>, <script> tags only show up
  in the html header.  As a result, it doesn't check if they
  are fosterable out of a table if they show up in fosterable
  positions.

* Patched the library to handle <style>, <base>, <link>, <script>
  tags when in a table context.

* Left the <meta> bug untouched since Parsoid currently exploits
  this bug for detecting unclosed start/end tags and a few other
  things.  Once Parsoid is fixed to deal with this without relying
  on the bug, we can patch this last piece of the bug as well.

* No change in parser test results.

* The following snippet is correctly handled where it wasn't before.
  The category link is fostered out (which also means that this
  wont RT correctly right now).

  "<table>[[Category:foo]]<tr><td>foo</td></tr></table>"

* Bug detected this bug report on parsoid.wmflabs.org
* /mnt/bugs/2013-06-07T12:54:55.516Z-Palais_(rivi%C3%A8re)

Change-Id: Ia30f6cf02cba7816dc7e92e974be6bfe63462d37