OR-534 Widget update

Widget is correctly update when the user click on the activity stream
update notifier
OR-534 Update activity stream which be click in the widget

The activity stream is correctly update when the user click on the
activity stream in the communities widget.
OR-534 Skip own timeline entry when GET unread timeline entries
OR-534 Resolve the unread problem when activity stream is empty

Before commit : when an activity stream is empty and when the user never
do GET /api/activitystream/:uuid, the tracker return always 0 unread
message.

After commit : when an activity stream is empty and when the user never
do GET /api/activitystream/:uuid, the tracker query the activity stream
in order to count number of timeline entries.
OR-534 Add unit tests and do some fix

* Rename a variable with the correct name
* Add `if` for `null` parameters
OR-534 Add a midway backend test

Add a test for this case : a user A post a message, a user B post 3
messages, user A do a GET /api/activitystream/:uuid/unreadCount and user
A must get 3 unread messages (his own message must not count).
OR-534 When a new user join a community, unread message is 0

When a user join a community, query the activity stream in order to
create the timeline entries tracker. If there is no timeline entry the
tracker is not create and if there are one or more timeline entries then
the tracker is create and set to the last timeline entry.
OR-534 Fix the helper for create a community

The helper `createCommunity` should add the creator in the members
array.
OR-534 Fix tests

* Move a test from unit-storage to midway-backend because the test need
the pubsub to be init.
* Fix some tests due to core changes
OR-534 When the activity stream is loaded emit a message in $rootScope

When the activity streams is loaded, emit a message in $rootScope in
order to notify the `communit-as-tracker` that it need to refresh the
unread count of one activity stream.
OR-534 Some fix due to PR comments
Merge pull request #381 in OR/rse from ~RPIGNOLET/rse:OR-534 to master

* commit '0c8c8214dbabaf73c469c7de84d21cc1a02e54f4':
  OR-534 Some fix due to PR comments
  OR-534 When the activity stream is loaded emit a message in $rootScope
  OR-534 Fix tests
  OR-534 Fix the helper for create a community
  OR-534 When a new user join a community, unread message is 0
  OR-534 Add a midway backend test
  OR-534 Add unit tests and do some fix
  OR-534 Resolve the unread problem when activity stream is empty
  OR-534 Skip own timeline entry when GET unread timeline entries
  OR-534 Update activity stream which be click in the widget
  OR-534 Widget update
OR-534 Fix tests
Merge pull request #387 in OR/rse from ~RPIGNOLET/rse:OR-534 to master

* commit '4a755c105bc77e92e3ce884b353cd87e867a4da7':
  OR-534 Fix tests
OR-534 Fix tests
Merge pull request #388 in OR/rse from ~RPIGNOLET/rse:OR-534 to master

* commit 'a8c8010103ab75170ec00fdd25b9daa55387e4ed':
  OR-534 Fix tests