ResourceManager.getApplicationResources() does not close InputStreams

From: http://icedtea.classpath.org/hg/icedtea7-forest/jdk/rev/c6a90ff85ffc
Summary: Add finally blocks to close the InputStream instances
Reviewed-by: lancea