FileHandleTest: remove trailing slash from /usr/lib/

This allows the test to match /usr/lib/ and /usr/lib64/, so that
necessary native libraries aren't detected as file handles that have
incorrectly been left open.
Exclude /usr/share/locale files from FileHandleTest
Exclude /lib files from FileHandleTest
Merge pull request #656 from melissalinkert/jpeg-file-handles

Update FileHandleTest to skip /usr/lib64/*