added javascript unittest framework, graph implementation+tests

 - added jasmine as javascript testframework
 - added underscore.js for better array functions
 - extracted graph interfaces and made an implementation with adjacency lists
 - added tests for graph interface
 - started simulationhistory tests (unfinished)