Upgrade `grunt-ts` version to 1.12.

Stop using separate compilers for development and distribution.
Should speed up distribution compilation, and pull requests will no longer
randomly have tons of comments added or removed.
Close #1097.