Arakoon 368 for 1.4

Changes cherry-picked from 1.6:
- Fixup CI scripts to work with git
- Fixup myocamlbuild version retrieval to work with git

Changed cherry-picked from camltc:
- Fixup rev_range_entries for ARAKOON-368

Cherry-picked from 1.4-hg:
- System test for ARAKOON-368