Updated to TypeScript 1.0
Implemented Dijkstra including tests
merged conflicts