Adds graceful handling of exit.

Closes #45
Merge branch 'failSafeEmptyWorkspaceExit' into userRegistration

Conflicts:
	WatchDog/src/nl/tudelft/watchdog/logic/interval/IntervalLoggerObserver.java
	WatchDog/src/nl/tudelft/watchdog/logic/interval/IntervalManager.java