Merge pull request #4 from jesperpedersen/master

[master] Use arg4j 2.0.16 and bug fixes
Add close flag to configuration in order to control closing of files during shutdown