Fix rosdep files check/clean scripts

Use pyyaml internal rules to decide whether to put quotes
or not around strings. This prevents crashes for gentoo rules (among others)
Merge pull request #493 from po1/clean-rosdep

Fix rosdep files check/clean scripts