Add rake task for syntax validation and Travis support