Add a new memory_max_page configuration option.

Also update large page eviction as per review comments.