Enable overriding LESS variables set in files

This patch switches the order of parsing files from

 apply variables - parse - get css
to
 parse - apply variables - get css

in the lessc class.

This has to be done in three different places.