Add ShardSpec Lookup

Optimize choosing shardSpec for Hash Partitions
review comments & pom changes
fix partitionNum calculation & remove extra sorting
point to correct version
Merge pull request #634 from metamx/shardspec-optimization

Add ShardSpec Lookup