Updated the interface of analyze to (config, system, cb)

Part of https://github.com/nearform/nscale/issues/11