Add generics to ERXGenericRecord

And remove some compiler warnings.