Moved some code into own files
Always install system libraries
Add support for dynamic runtime linking
Moved luajit into right folder
Setup libraries for dynamic linking

Although we probably don't need that...