LPS-49970 allow redundant closes when deleteOnClose = true

ByteArrayFileInputStream allowed closing the stream multiple
time *except* when `deleteOnClose` was enabled.

It seems all Liferay custom InputStreams allow closing an already closed
stream; this commit makes ByteArrayFileInputStream follow that same
pattern also when `deleteOnClose` is enabled.
Test Fixes - StagingUsecase.testcase - actions, functions, paths
LPS-49486 - 508 Compliance for Documents and Media - Ratings
LPS-49486 - Source formatting
LPS-49486 - Removing the webkit specific items, since those were hacks around affecting the scroll height, but in this case it's not needed
LPS-49993 ClassCastException on shutdown when scheduler is disabled
LPS-49991 Upgrade Tika to 1.6, some operations were failing after ASM was updated to 5.0.1.
LPS-49991 Eclipse and Netbeans
LPS-49991 ant build-lib-versions
LPS-49778 Change liferayRepositoryDefiner property of RepositoryClassDefinitionCatalogImpl into a List called repositoryDefiners so that we can plug as many built-in definers as we want from the Spring configuration file.
LPS-49778 Add a new portal.properties setting to be able to force visibility of hidden mount points in the document library portlet. This is mostly useful for developers (specially me ;-)).
LPS-49778 Fix NPE when navigation a temporary repository from D&M UI
LPS-49778 Add a new capability to deal with auto cleaned temporary files.
LPS-49778 Add an option in the UI to be able to manually invoke the auto clean feature of temporary repositories.
LPS-49778 Add a new type of repository which is based on LiferayRepository but adding TemporaryFilesCapability too.
LPS-49778 SF
LPS-49778 constants then free strings
LPS-49778 let's assume ms
LPS-49294 These files have compiler errors that were fixed, but the resolution is known to be bugged or unsatisfactory, with no solution in scope of this project
LPS-49294 I think this is what it meant to be. It was originally caused by c2f5a11dc55079341db075faea5bcc97280629e4 without any ticket info.