Converted compile and saveCompiled to static methods
Cleaned up unnecessary config in spec
Added auto compile on save without preview opened

Fixes #16
Removed depreciated function and switched to use getTextEditors