script: Inline some hot functions used in flow constructions.

9% improvement in style recalc on the rainbow page.
Added refs to Element's DOM spec

This is a sub-task for #1660.
Added refs to live HTMLCollections issue
Fixed FIXME message as pointed out by jdm
Fix GLUT build for Android
Adding most commonly used parts of window.console. Fixes Issue#506. r=Ms2ger
auto merge of #1666 : ozten/servo/issue-506-add-basic-console, r=Ms2ger

Here is an attempt to fix Issue#506.

I couldn't figure out how to do variadic arguments to `console.log`, but I did test calling `console.log('foo', 'bar', 'baz')` and it prints the first argument and doesn't error out, which is nice.

window.console is not a web standards. I did the popular functions, but not some of the newer ones documented [on MDN](https://developer.mozilla.org/en-US/docs/Web/API/console).

This PR will allow more pages to load properly, where developers have left in window.console calls.
Add a simple iframe test page
Convert data-url.html to a reftest
Eliminate string match allocation in url.rs
Provide an error message for URL parse failure
Accept data: URLs on the command line without URL encoding

This facilitates quick testing, e.g.

    ./servo 'data:,<div style="color: red;">hi</div>'
auto merge of #1672 : kmcallister/servo/tests, r=pcwalton

I'd like to have an `iframe` reftest as well but `iframe`s are currently broken.  Will look into that next.
auto merge of #1668 : larsbergstrom/servo/windowing_android_fixups, r=metajack

When I was doing my earlier PR for @mut-removal in windowing, I failed to add/commit/fetch/merge/push the changes in my Android-targeting copy of the repo and only just noticed.

r? @metajack
Build libstd etc. with debug info when Servo configured with --enable-debug
Change the mechanism behind summit-crash.html
Move FailureMsg contents into a cloneable struct
Add a helper for sending a message on task failure
Restore failure handling

We probably leak some threads and resources, e.g. when the script task crashes
and doesn't get a chance to send layout data back to layout to be deallocated.

Not tested with iframes yet.
Restore hard-fail mode