Update yeoman generator

http://yeoman.io/blog/release-0.18.html

* update `yeoman-generator` to ~0.18.0
* use new `fs` [mem-fs-editor](https://github.com/SBoudrias/mem-fs-editor)
* fix `test-write-files.js` (maybe this test is useless ?)