Separate main modules for node and browser consumption

Node's main is now 'rest/node'.
Browser's main is now 'rest/browser'.

The default client definition has moved to 'rest/client/default' for
internal use, external consumption remains at 'rest'.