Migrated a breaking change between Typescript 0.8 and 0.9.

Syntax of external module imports now uses 'require'.