Typescript port

The typescript port I mentioned the other day - now with a Gruntfile.
Yes, this is a good idea. I'd just skimmed over that bit in my teach myself typescript.