Fix copyright header
Fix regression: undefined/undefined while loading workspaces
Provide current mode info throught platform context
Move javascript constants to Wirecloud.constants
Improve PopupMenu behaviour when there is no space