fix(plugin): properly handle late added files

This commit adds proper handling for late added files supported from
browserify 5.x on.

It is backwards compatible with browserify 4.x and the existing 5.x
behavior (which supports options.entries) only).
Merge branch 'late-addition'
Added test for multiple entry points case
0.3.1