Fix for issue #70: support yaml-cpp 0.5+ (new api).

Hopefully this fixes issue #70.  I have only tested it on Ubuntu Precise, which uses the old API.

Before this is merged I would like someone with the new API to compile and test this.

Thanks.