fixed undefined reference to BIF.dispatch
Merge pull request #223 from morhekil/master

fixed undefined reference to BIF.dispatch
Use the mid-point of a stencil mask to determine its visibility on the page.

This works around a rounding error in Chrome where:

  margin-left: 2.6em;
  text-indent: -2.6em;

Is fractionally less than zero, so the rects are shown on the previous page.
Don't set font-size of SVG elements.
Typo in Gala prevented contact events from working in IE<9.
Update the iOS cookies bug test suite for iOS7.
A bit more null-safety in the Selection polling.