added compileFile() and checkCompile() for #148 and #132

influenced by the lessphp methods