Pulled out HazelcastClientInstance

Fixes #3781

Also improved documentation and minor cleanups
And  can you also remove the todo if my answer is sufficient?  :)