Cleanup and checks related to target dependency cache and some Scaladoc.
Added new unit tests.


git-svn-id: http://sbuild.tototec.de/svn/sbuild/trunk@417 024a02f7-42f7-40fc-9f58-65666d1f2450