Adding REST methods for new objects: cluster, centroid, batch centroid
Adding docs for clusters methods and shared resources
Bug fixing: error array growing in each function call, doc typos and test fix