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:
We also need to check for EmberCLI version.  It must be greater than 1.3.0 in order to have the preBuild hook that the addon needs.

https://github.com/stefanpenner/ember-cli/pull/2411