Add from_string, which makes parsing a config from a string easier.

Please pull this, and also publish a new version to pypi, so I don't have to manually include this in my source. :)
Thanks.