Add support for renaming TypeScript modules

TypeScript's syntax for requiring modules is either:

  import <name> = require('<path>');

or

  var <name> = require('<path>');

For both cases we can use the same matching pattern
as JavaScript
Merge pull request #1 from robertknight/rob-typescript_support

Add support for renaming TypeScript modules