allow both extension and extensions

Allow both `extension` and `extensions` in options. Browserify uses `extension` in the command line, and `extensions` in the API, so can be confusing to remember the right one.