add php 5.5 to travis-ci config
move script code to Autotest class
set default timeout to 1 second