generate spec when generating middleware
document middleware testing

* add `make middleware_name` to run middleware tests
* add `make dependencies` to install dependencies
* document it in the readme
Merge pull request #25 from APItools/testing

Testing improvements