Add @non_exposed decorator

The @non_exposed decorator is used to wrap a method of a subclass of FlaskView to avoid exposing it as a view.