Add the capability to create tagged pointer and classes in bitmanip

Create utilities to make safe tagged pointer and class references in std.bitmanip.
Indentation is off.