hypothesis/h — pull request #1453 by gergely-ujvari (2014-08-26 14:53:49+00:00)
Title: Do not put replies in the rootscope when not in document view

The ```applyUpdates()``` (at least for now) sometimes populates the ```$rootScope.annotations``` to display the newly received annotation data immediately.

The error described in #1415 was coming from here, that the ```$rootScope.annotations``` was accidentally populated with reply annotations.

Now we do this only in Document viewstate mode, because our stream page needs this, because it can receive reply annotations whose parents do not match the search criteria but the reply itself does (i.e. search for: text:car, and the parent does not have the word car in its text)

Fix #1415