Adding functional HistoryManager and tests.
Removing unnecessary resources and settings form gnlib module.