PmAttrBase: Fixed getValueType() for more complex generics definitions

  e.g. for list attributes.
  added also a PmAttrList test