Introduce hash function for IndexSpace
Merge pull request #1323 from bartvm/index_hash

Introduce hash function for IndexSpace