Fixed bugs with absolute object/action URLs.

Before this fix, a remote action to an absolute path like "/hello" with a base URL like "http://example.com/api/v1/" would become "http://example.com/api/v1//hello", even that "/hello" was an absolute URL.

This fix supports all three ways to specify a URL: relative, absolute or absolute and fully qualified (with a server).