hds-v5: Lots of fixes

- Proper support for primary/secondary locators
- hdsShow
- mmap now works for readonly access