Add locking feature to prevent stale code

Adds locking feature that works with [ember-cli-rails-addon](https://github.com/rondale-sc/ember-cli-rails-addon) (the companion addon in node land)

The `ember-cli-rails-addon` uses the `preBuild` hook to write a file called `preBuild.lock` to the output and the `postBuild` hook to delete that file and write `postBuild.lock`

The middleware we are now injecting blocks until the `preBuild` file is not found and the `postBuild` **is** found before continuing the request.  This results in a block until ember-cli has fully built the output.

Cheers :beer:
I think the concern is that if we make changes to ember-cli-rails-addon it shouldn't break existing installations of ember-cli-rails (the gem).