Removed dependency on yaml-cpp

Uses OpenCV's persistence API instead. Not as nice, but remove
a dependency, which is cools.

Spotted by Quentin Bonnard.