Break out history variables form readline into its own module.