PG: do comparison in proc_primary_info the right way round

Signed-off-by: Samuel Just <sam.just@inktank.com>
HashIndex,hobject: move logic for matching objects against hash mask into hobject.h

Signed-off-by: Samuel Just <sam.just@inktank.com>
working