Add compile into file to Compiler base class

Moved compile into file functionliaty from compiler
command line tool into the base class. Added a test case
that compiles into files.
Automatic loading of dependencies

The loader can now automatically load the dependencies.
Manual loading can also still be used. Added few
test cases and edited documentation a bit.