Use default values for some Style and Dialogue properties if they're not present in the original template.

Fixes #30
Switch to in-development TypeScript compiler.
Use union types.
Use quasis for building strings.