Allow extending with 'class' or static properties

Not sure if this was omitted on purpose, here's a link to where backbone does this:

https://github.com/jashkenas/backbone/blob/master/backbone.js#L1643