allow tiles on dash to be rearranged. save order in cookie. set order fr...

...om saved using template
@dkavanagh : Ah, just read your message on the UI mailing list w.r.t. why we're using a cookie rather than localStorage.  Too bad we couldn't perform the initial sort client-side.