Improved error handling of Controller
Merge branch 'master' of https://github.com/birgerpersa/CGLS.git

Conflicts:
	CGLS-server/src/server/Controller.java
	
Improved error handling of server startup.
Created MatTools class.
Moved general methods out of Server class.