Corrections to UniqueValueCount #127

1. Corrected the implementation that works with parallel partitioning
2. Added more documentation
3. Few other minor fixes