JCRVLT-349 clarify and consolidate closing behaviour for input/output
stream being passed to methods

The only remaining method which still closes a passed stream (given as
method argument) is PackageManager.assemble(...) and
PackageManager.rewrap(...).
Use try with resources.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/commons/filevault/trunk@1864770 13f79535-47bb-0310-9956-ffa450edef68
45 files changed