object: allow categories in Object.extend()
Merge pull request #286 from bertfreudenberg/master

Allow categories in Object.extend()