Creates a new instance of the application object and retrieves configuration information from the provided string. String should be in XML Serialization format or created by the WriteAsString method.