Assorted fixes to re-enable federation

https://reviews.apache.org/r/12725/

Contains the following commits:

commit 64024d5e781a6d0583d1ca32e609a2f659c8eb0c
Author: Ali Lown <al@apache.org>
Date:   Fri Aug 16 12:52:49 2013 +0100

    Address Yuri's comments on federation fixes.

commit e4e8c32350e161edbe9f882e2d5ba85ceeff00df
Author: Ali Lown <al@apache.org>
Date:   Thu Jul 18 16:43:03 2013 +0100

    Collection of fixes to bring re-enable federation

    commit 252214fd13bee7f946118eba4df5b822b93f92dc
    Author: Ali Lown <al@apache.org>
    Date:   Wed Jul 17 22:13:19 2013 +0100

        Fix test-suite following these assorted fed fixes.

    commit 1a7078230b9ed8c84a91e4bf4a2fe9982f4cfca8
    Author: Ali Lown <al@apache.org>
    Date:   Sat Jun 8 20:54:14 2013 +0100

        Revert "Revert "Fixes WAVE-354: SimpleSearch.DigestProxy should update only the opened""

        This reverts commit 35313df5546622d9b10ac53b60b022317cebdeb6.

        Although this commit no longer causes shiny's with federated waves, it
        seems to be making the search much 'laggier' than it used to be. So, it
        looks like it needs looking in to some more.

    commit 8e8ca730c148269fa7107e1be7f3407b6f296645
    Author: Ali Lown <al@apache.org>
    Date:   Sat Jun 8 20:48:51 2013 +0100

        Fix Wavelet Root Conversation id generation

        Means that getRoot() works for federated waves now.

    commit a161dbf32bb6493742e4ac253e98c267bd83e5e1
    Author: Ali Lown <al@apache.org>
    Date:   Sat Jun 8 20:48:41 2013 +0100

        Undo debugging data

    commit 185a903d4b61803a72490985ef4234329a02978e
    Author: Ali Lown <al@apache.org>
    Date:   Sat Jun 8 16:08:12 2013 +0100

        Shiny fixing: Put title-fetching in TitleHelper.

    commit 8f3f07b8e65a4890a6eb184bcafb14d6d14dc65e
    Author: Ali Lown <al@apache.org>
    Date:   Sat Jun 8 14:49:24 2013 +0100

        Revert "Disable WindowTitleHandler (not federation capable)"

        This reverts commit 001356a30b485a857140f783b54e794be0190572.

    commit eba868a89419c904b58b2ac7b54905a5a4d6f1c5
    Author: Ali Lown <al@apache.org>
    Date:   Sat Jun 8 14:43:47 2013 +0100

        Notify listeners and try to sync anyway...

    commit 9805380864d0eeea3dcec634faa7afaa7a4fcabb
    Author: Ali Lown <al@apache.org>
    Date:   Sat Jun 8 14:17:27 2013 +0100

        Patch over a shiny from attempting to mark as read

        Occurs when the wave is not fully loaded before trying to change
        supplemented state.

    commit 0de5a6fa02c14b06ba852ae2f7001590c9b83ea0
    Author: Ali Lown <al@apache.org>
    Date:   Mon Jun 3 23:35:06 2013 +0100

        Disable WindowTitleHandler (not federation capable)

    commit 014827117125a5d21b3068d4b9368a81b0a732ae
    Author: Ali Lown <al@apache.org>
    Date:   Mon Jun 3 22:17:47 2013 +0100

        No point calling the same function twice.

    commit 54c600c6a838878051b5383d9a8ca2754e881a8b
    Author: Ali Lown <al@apache.org>
    Date:   Mon Jun 3 12:54:48 2013 +0100

        During search, check remote wavelets first.

    commit 5683ba4a7b6832b994ef332a80f133e1c8817815
    Author: Ali Lown <al@apache.org>
    Date:   Mon Jun 3 12:52:05 2013 +0100

        Add extra logging for search+wavelet paths

    commit 1809e26db374d5d03ac2f0f48a68ac083355feac
    Author: Ali Lown <al@apache.org>
    Date:   Mon Jun 3 12:48:24 2013 +0100

        Fix copy-paste error?

    commit f2ac77df78d7ff5089197bf6d75459cc8f1b9b70
    Author: Ali Lown <al@apache.org>
    Date:   Sun Jun 2 22:15:08 2013 +0100

        Revert "Fixes WAVE-354: SimpleSearch.DigestProxy should update only the opened"

        This reverts commit bf760c93b77daa5893016f7ac8a4979728cfa0a5.

    commit 5dce24fde5e36452416ca7cf989784407866b300
    Author: Ali Lown <al@apache.org>
    Date:   Sun Jun 2 15:08:48 2013 +0100

        Add some more logging.

    commit abaa4e76548699501479270e0e97d33a94227eab
    Author: Ali Lown <al@apache.org>
    Date:   Sun Jun 2 15:08:37 2013 +0100

        Add NPE check to getCurrentVersion

    commit cab6e9cda4404d8181c1460ce885ec4bb5c2aa39
    Author: Ali Lown <al@apache.org>
    Date:   Sun Jun 2 15:07:55 2013 +0100

        Create wavelet, pass submit even if not fetched.

    commit 0ea2c20972f0b2cf5d3047ec456e4f4f5e19ebc3
    Author: Ali Lown <al@apache.org>
    Date:   Sun Jun 2 15:07:01 2013 +0100

        Wait for frontend loading before commit/update

    commit bc28198aeb47769b60e37cbbc56b965a6d25460a
    Author: Ali Lown <al@apache.org>
    Date:   Sun Jun 2 15:06:37 2013 +0100

        Track only largest pending commit

    commit 5a75628d3d6d10b8efb7cf097c523b9a38802172
    Author: Ali Lown <al@apache.org>
    Date:   Sun Jun 2 15:05:16 2013 +0100

        Don't allow update when frontend not initialized

    commit c2ea97c0e1069a8221486b62b73b58ef0d8fd8ab
    Author: Ali Lown <al@apache.org>
    Date:   Sun Jun 2 00:00:19 2013 +0100

        Track requested commits for not-yet-got versions.

    commit 34f35c598cb4e51e2365956db1a5b41e3c3bb248
    Author: Ali Lown <al@apache.org>
    Date:   Sat Jun 1 23:06:56 2013 +0100

        Ignore commit if not wavelet not yet up-to-date.

    commit 3d4ebc2415dd5e355a528066d1253a558a5c2300
    Author: Ali Lown <al@apache.org>
    Date:   Sat Jun 1 19:13:47 2013 +0100

        Prevent requested history:non-empty,non-contiguous

        This would cause a SEVERE, but doesn't seem to actually warant an extra
        behaviour on the receivers part beyond simply requestingHistory which
        already happened.

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1517913 13f79535-47bb-0310-9956-ffa450edef68