A bit of docblocking.
Added the initial history 'module' which will allows different parts of the system to log stuff. Also added some basic history records in the pages section.