Made Config API more sane. Only YAML passed to load

Also added some good tests for this kind of stuff.
Changed boot.py to reflect the changes.