A simple interface to localStorage that adds expiration dates.