Add alternative way to dissable middleware

This is mostly done to be able to disable profiler in project via
oslo.config, instead of chaning api-paste.ini

Change-Id: Ib972aedad31fe6a09b8d9815761a41a0ab28256c