Added a martini adapter.
Implements an adaptor for Martini middleware.