Don't leak resources, ensure BufferedReader in parseLog is closed

[FIXED JENKINS-25800] Ensure BufferedReader in parseLog is closed

Added a try/finally block around the reader, so it doesn't leak resources. BufferedReader will automatically call close on the FileReader it wraps.

It also looks like my editor helped out by getting rid of a bunch of leading & trailing whitespace.