Fixed JS error when location.hash is empty or not a valid id.
tsnext

- Updated TypeScript to v1.1

JSDoc generator
- Generate @template JSDoc annotations using type information
- Generate @enum JSDoc annotations using type information

Documentation generator
- Enums
- Don't generate two elements with the same ID for properties.
- Show generics in base type references