.gitignore: add a missing test executable

Also alphebetize the ignored files in test/class.
fix a segfault in the two-phase I/O algorithm for fileviews of 0 byte size.
lsf configury: add dependent libraries for static linking

Ensure to add the LSF dependent libraries and LD flags for the wrapper
compiler static linking case.