[#33529] Let FOF work with Content History

To be partnered with https://github.com/akeeba/fof/pull/315

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33529&start=0

## Instructions for Testing
1. You will need to edit the appropriate files in FOF as here: https://github.com/akeeba/fof/pull/315 to libraries/fof/table/behavior/ folder (note this can't be done with patchtester because it will go to the wrong path)

2. Install https://github.com/wilsonge/restaurant-fof/ Create a restaurant in the backend and save it. Now make a change to the restaurant and save it again and click on the versions button. You'll see several PHP errors.

3. Now apply https://github.com/joomla/joomla-cms/pull/3375

4. Click on the versions button again and all the versions should appear happily and work as expected