Bug fixes and updated deps

- Fixed issue where npm-resolve would silently eat an error.
- updated some deps
- release version 0.4.8