hashed index performance improvements

[SVN r86717]
typo

[SVN r86718]
cleaned -Wshadow warnings

[SVN r86730]
(hopefully) fixed use of sizeof on an incomplete type

[SVN r86731]
hashed index slight performance improvements

[SVN r86758]
added == and != operators to hashed indices
Merge branch 'develop'