add hdbits
Merge pull request #686 from georgewhewell/hdbits

re-add hdbits support, update to development branch