Support different context path

#50, fix the build-screen goes 404 when access ex:) `http://master.pool.dev/path/to/something` includes context path.

I also add test for `hooks.rb` with using infraspec, and serverspec. 🉐
@ainoya What is going if it sets TARGET_HOST environment variable? Is it used for test?