Reworking unit tests

Data is now copied to build directory, path of which is set through a config.h.
Fix Windows build, export not required for template class/struct.
Merge branch 'windows' into develop
Unit tests require dummy graphics backed exports.
Merge branch 'windows' into develop
Merge branch 'tests' into develop