allow config object to be passed in ghost init

This PR allows a config object to be passed into Ghost's init function. If no options.config property is passed in, the options object is assumed to be a config object.