start of a history adapter for PICL
basic history syncing; likely performance problems though
added simple test for history adapter
Added basic history syncing.