Addesses issue #34
added closeProcess Function to server and added corresponding closePVSProcess function on the web socket client
Now when projects are switched the process for the previous project is always closed first before the new project is opened.
Merge pull request #37 from thehogfather/issue34

Addesses issue #34