added special warning when we get EMFILE #715

Now we print the current open files limit to the log before crashing.

fixes #715
changed to better parameter parsing infrastructure for storage #655

Using the better abstraction will hook these parameters in to a more
user-friendly framework and will generate help text and getParameter
functionality.