Added row prefetch configurations

Added configuration options for row and memory pre-fetch as well as safe
defaults.  The defaults can be overridden using environment variables.