Add Node.js/JsDom support, `$css` tweaks, other updates.

This PR includes the following:

* Switch to manual plugin injection for AMD (matches Node.js method).
* Add fallback to "style" property for `$css`.
* Add `contains` support for `$css` assert.
* Add support for Node.js with JsDom.

/cc @atimb @alexlande