Fix tests.xml install path
fix config install path
Add pthread to CPPFLAGS and AM_LDFLAGS
Fix compositor binary path
Fix config filename path
Fix proper data path
Fix tests.xml to use /opt/tests path
Update spec and changes