Bugfixes/acid bugfixes

These fixes enable Scamper to at least load, parse and render the acid2 test page (http://acid2.acidtests.org/#top) - even though the rendering is not even close to the reference rendering...

Fixes #137 
Fixes #142