support for  php5.3, fixed travis, moved things to resources