Major bugfixing

This is a big bug fixing commit. With this issue #54 is fixed, don't
really know what caused it but things now works. Also fixed the error
with how bundler/npm/bower wasn't run correctly and another one where
Mocha seemed to start writing files before any of the promts started up.
See #48 for more. This closes #54.