Support inheritMixins option in extend

This now defaults to not inheriting mixins from the extended
definition. The optional inheritMixins is a truthy value the
mixins defined in the extended definition will not be included.