Some initial fixes for 1.8.7 compatibility.
More tweaks for 1.8.7 support.
For parsing CSS rules, convert from crass, which doesn't support 1.8.7, to css_parser, which does.
Bump up JRuby memory limit.