Add API rspec type.

So we don't have to remember to copy and paste the same code into every
API example, or add Rack::Test to every single spec.