Add ShardSpec Lookup

Optimize choosing shardSpec for Hash Partitions
review comments & pom changes
fix partitionNum calculation & remove extra sorting
point to correct version
fix storage class npe
Merge pull request #637 from metamx/fix-s3-storageclass-check

fix storage class npe
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.
fix mm
Merge branch 'master' of github.com:metamx/druid
Merge branch 'master' into rejigger-cache

Conflicts:
	pom.xml