trying to migrate to typescript 0.9
bool -> boolean
bool -> boolean
updated definition files
fixed new definitions