Use improved Dancer hooks to fix session bugs

Cached session global is reset using the on_reset_state hook.

Moved some response munging into a block that only fires if
a sessione exists.

Overrides the new "is_lazy" method to true to avoid unnecessary
(albeit empty) flush method calls.
updated Changes and meta
bump Changes