Tests for middleware.

Fix in `lib/apipie/extractor/recorder.rb` for inproper return value in call method if recording is disabled.
Merge pull request #240 from arathunku/add-missing-spec-for-middleware

Tests for middleware.