added travis and scrutinizer config files
covered XML construction with phpspec