Use `debug: true` option instead of `ENV['THOR_DEBUG']`

In rails4, `run_generator` seems to be run with clean env.
thor couldn't raise error against expectation without this debug option .

This patch fixes some failing tests using `assert_raise`.