use the right ts files, and added more tests
fixed/imported freedom-interfaces and used them
comment fixes
fixed for new promise def location
Merge pull request #15 from uProxy/iislucas-ts-freedom-fixes

fixed/imported freedom-interfaces and used them