skip timestamp checking, remove duplicate code

1) No need compare all timestamps when all the values are within range
2) remove redundant code.
fix non-deterministic test
fix dimension exclusions for timestamp and aggs

- also added tests
Include origin when creating the cacheKey for period Grans
Merge pull request #843 from metamx/fix-nondeterministic-test

fix non-deterministic test
Merge pull request #842 from metamx/fix-timestamp-column-exclusion

fix dimension exclusions for timestamp and aggs
Merge pull request #834 from metamx/optimize-timestampchecking

skip timestamp checking if not required, remove duplicate code
Merge pull request #846 from vikramakrishnan/cacheKeyFix

Include origin when creating the cacheKey for period Grans
Merge remote-tracking branch 'origin/master' into druid-0.7.x

Conflicts:
	processing/src/main/java/io/druid/segment/QueryableIndexStorageAdapter.java