Python api additions

There is one problem with countApprox functions that they don't work as expected for sc.parallelize(....) and work well if used with sc.textFile. I am still figuring a way to solve this problem, in the meantime any suggestion would be helpful.