Fixed configuration errors

Configuration was not being imported due to wrong location of the config files, and there were errant calls to module_invoke_all(). Also, exceptions thrown in the Client were not being caught.