Extract LessCompiler

This enables a pluggable compiler implementation and paves the way
for Nashorn being used as the JS engine in the future.