object.Class: don't override __index if present
object.Enum: introduce new object class

Signed-off-by: Alejandro Mery <amery@geeks.cl>