Add libYAML and bump minimum iOS sdk to 5.0
I've done so much I'm not even sure anymore. I was going to cherry pick these commits but that's not feasible.