Merge pull request #36 from scarabeusiv/master

Add missing includes so it does not bail out on Gentoo
first version of "fact_sync"
Merge pull request #37 from foxtrot92/master

first version of "fact_sync"
Improve error message when revision missmatch
Fix again error message. Sorry
Merge pull request #40 from aplanas/master

Ok ok. I am learning.