Added the option to convert a proxy to a subtype

- The proxy can be converted to a subtype to make the
  properties of the subtype available, this is supported by hibernate
  and will automatically add left outer joins to the subtypes.
  Use with care!