Merge branch 'dev'
improve logging and make GemServer transaction safe by using TransientSemaphores