support: make the build system work with the latest browserify

The are two reasons for this update:

1. A simpler interface. All the options are in the same place, no more confusion with bundle options and browserify options.
2. Performances and improvements.