Added a application lock unit test that relocks multiple times
Moved the application lock server socket to the locking thread
Merge branch 'develop' of github.com:MMS-Projects/copyit-app into develop