Add documentation (lifted from leafo/lessphp)
camelcase variable names
fixed php6 deprecation (lifted from leafo/lessphp)