Add objectHeader class with derivatives.

The objectHeader class gives the basic information about the object,
type, level, status, relations. For the different object types the
classes are derived accordingly to encode the specific information of
the header.