Fix small issues related with windows, #274.

- Downgraded rimraf to ~2.0.3
- Fix some issues with the tests (install and list tests)
- Fix some more errors with callbacks being fired twice