=BG= update return type of middleware invoke signature

Was `Action`, now is `Result<Action, NickelError>`

Fixes #2