using a ContentOutputStream instead of OutputStream in plugin interfaces

Passing a ContentOutputStream into model interfaces which provides an extra method to get resources from the server. Replaces the need for the PageAccessor and allows JSPs to work from unbundled-resources again.

@dchambers one for you to review.