Use travis container-based infrastructure.
Updated typescript to v1.4.0

- Union types.
- Switched default lib to lib.es6.d.ts
Use template strings.