Fix code to generate json for JS snippets
GadgetTransport should not be part of the bridge but should use the
bridge to be JS Toolkit agnostic. Fix constructor to correctly read the
service name. Build a fully qualified URL for use with the OpenSocial
proxy.
Endpoint no long builds a fully qualified URL, when using the SBT
SDK proxy the full URL can be built on the server. Pass baseUrl to the
transport, this is required for the GadgetTransport.