Switch definition to interfaces, as TypeScript 0.9.5 no longer supports declaring classes and functions with the same name.
Merge pull request #1310 from nvivo/underscore_to_interface

Switches underscore definition to interfaces