Adding hive-partitioner.

Needs review and refactoring and more docs.

Change-Id: Ia812078906978c0fb44110e36034ad49ac9e3c29