Finished GUI base

- modified VIS library to alter the way edges may be edited
- added edge editing functionality
- implemented edge adding functionality
- modified addElement function to handle adding edges as well
- fixed an issue caused by unfinished editing of elements (closing edit
pop-up by clicking away could brake the model)