changed api server url to a plugin option

changes to support connecting to a qa instance of api server