Updated Connected Components and Pregel Docs

Updated the connected components code in analytics and improved documentation of the Pregel-like API.