types: Base the 'function' type on 'object'.
types: Base the 'function' type on 'object'.

This makes it easier to implement things like "to have property" for functions when scoping by type.

alexjeffburke/unexpected,bruderstein/unexpected,Munter/unexpected,unexpectedjs/unexpected,alexjeffburke/unexpected,bruderstein/unexpected