Redefines ID column from INT to VARCHAR(17)

* Maintains an exact match with the `details` table specification, proposed
by the XhGui
* Removes the unsued namespaces
* Use bitwise operation to configure Xhprof profiling
* Skip including XhGui config file when enable_xhgui is turned OFF