#349 Moved concept graph code into TypeScript. Need to sort out amd base url usage. Also have to refactor between ontology and concept graphs some more.