Gdt: adds a GDT abstraction class for the GDT with associated tests.