add new libraries to js gui: for URI manipulation, and to be able to do copy-and-paste
add actions to sensors in js gui, including links to copy the value, and to copy the REST endpoint.
to use, simply hover over the value then go to the caret pointing down.

there is a lot of sad complexity here because copy is not possible in JS for security reasons;
it's only possible in flash, and then only when the flash embedded item has been clicked.
ZeroClipboard (developed by github) makes this as easy as it can, but when combined with
a popup menu there is still a mess, because the ancestor elements (eg the float group / popup menu)
lose their hover when the embed is hovered over.  so there is some horrible logic to keep the
menu up while the user navigates around.

i've also tweaked the mRender routine to minimise menu recomputes, so it prefers to update the html
of the cell rather than regenerate that html, meaning that the menu is not wiped while the user is
using it.

in short when you need to copy a hostname or something to the clipboard, this tries to make it easy!
update zeroclipboard libraries used by brooklyn docs to latest stable version (1.3.1), making clipboard behaviour more reliable (but this only works with the update in the next checkin!)
change the page template for brooklyn docs to use the latest zeroclipboard api (separated from previous commit so it is easier to see!)
address code review comments - load ZC using require framework, primarily, plus others
correct a mouseout-via-the-same-tr bug which leaves popup hanging, and change it so that popup icon appears whenever the entire row is highlighted,
and so that popup-down menu appears only after a very short 200ms hover on the popup icon (prevents it from appearing on a quick flyover),
and feedback on clipboard actions, on mousedown, but with other popup menu events switched to being on mouseup
Merge pull request #1171 from ahgittin/feature/popup-sensor-actions-2

add actions to sensors in js gui, including links for clipboarding