Improved build file and minor changes to source

build.scala: now generates build.sbt files per project, cleans up before running dist, makes eclipse compile to scala target, automatically updates project and classpath files and reads them from the project configuration in build.sbt, including main class location

project structure: res now separated from src

engine: fixed issue with getResourceAsStream in Resources, added DefaultResources, minor fixes to imports and names