Exception handling for clusters added.

Did a bt of performance/load testing testing on the server.Well to say
the least I am impressed.On a side note I must devise more comprehensive
performance tests for writes.
Added method to get a document by id