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

- Union types.
- Switched default lib to lib.es6.d.ts
Use template strings.
Switched to in-development TypeScript compiler.
Use destructuring assignment and shorthand property names.