Fix Linux build

gcc expects template<> statements before the static member allocation, it considers those specializations
also fix a problem with looking up the correct classes when registering SceneryRepresentation under linux
Fix bug in forwardProperty (yaml settings where not carried forward)