new Travis CI script. Running tests and validate typescript syntax.
Merge pull request #644 from Diullei/master

New Travis CI script. Running tests and validate typescript syntax.