Typescript-backbone: fixes for #824
Merge pull request #919 from dprotti/typescriptbackbone824

Typescript-backbone: fixes for #824