Improved the thread safety of the shared instances by using GCD dispatch_once tokens.
Forgot to return the sharedConnectionQueue.
Merge branch 'thread-safety' of github.com:ejensen/countly-sdk-ios

Conflicts:
	Countly.h
	Countly.m