support extension option, as it is called in the browserify documentation (not extensions)

This is done in such a way that it won't break the existing API. At some point when grunt browserify 2.x is released, the `opts.extensions` check can be removed.