added unit test relevant functionality

In the configuration extra parameter for external libraries for unit
tests
Resources can be defined in the platform configuration now
command files now platform specific

fixes bug where builds used a command file for the wrong platform