Change: add note about middleware function to readme.

api-server-basic supports custom middleware but that functionality is not documented. I added a middleware field to to the example options shown in the readme.