Allow framework users to mock martini.Context.

The private method `written() bool` in `Context` interface prevents framework users from mocking `martini.Context` and directly testing handlers. It would be great if users can easily mock it getting the most out of the Dependency Injection design of martini.