Generate nodes/localhost.json in order to enable Docker test.

Docker runs inside the localhost,
so that the "rake test" command generates the nodes/localhost.json.

This commit fixes #186.
Merge branch 'id/186' into dev
Merge commit 'f5e7ad1875c0e9fb9160fcb8bbc4f765cfecc3f5' into HEAD