Allow config.relativeUrl for issue #14

Have tested this to work.  If now I add

    "relativeUrl": true,

to the ExtDirectConfig then it produces "url": "/myapi" and then it works for any server and network configuration we have, where the server address is wildly varying but always the same as the webpage.