Add travis file, update composer.json and fix various typo