Don't serialize if a view is explicitly set.

If the controller sets the view in $c->stash->{current_view} or
$c->stash->{current_view_instance}, then it is explicitly requesting a
certain kind of serialization and C::A::Serialize shouldn't override
that.

Signed-off-by: Shea Levy <shea@shealevy.com>
Test-case: When view is set, don't serialize

Signed-off-by: Shea Levy <shea@shealevy.com>
Security fix
Changelog
Version 1.07