Allow workerify to be used with watchify

When a dependent file changes we simply need to
emit a 'file' event on the stream in and
watchify will pick up the event and rebuild.

`resolveEntry` has been added to keep the changes
DRY.