Add ShardSpec Lookup

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

Add ShardSpec Lookup
doc and timeout fix
fix infinite loop in test
fix overlord binding problems
fix test

committed it by mistake.