Fix some problems building Wirecloud URLs
Fix WirecloudAPI