Transaction history and total caching functionality

Add gethistory endpoint to retrieve property history data.