Fixed typo (in all places) & renamed 'bool' to 'boolean'

As of Typescript 0.9.5 the type 'bool' is not supported anymore, see https://typescript.codeplex.com/workitem/135