improved websocket session handling
when private link page of a need is visited or left, update unread event counts

set unread events by need count of the visited/left page need to 0
update the unread event by type count accordingly
add code into callback for close connection sent, see #113 for details
rename method for clarity
fix message detail view staying on screen when user toggles out its message type
adapted handling of connect messages: each WoN node has its own copy

when a message is received, it is assigned a new messageURI and the content is copied, so that it can consistently be served by the WoN node as linked data
Merge branch 'devel' into feat-accept-connect

Conflicts:
	webofneeds/won-owner-webapp/src/main/java/won/owner/web/websocket/WonWebSocketHandler.java
	webofneeds/won-owner/src/main/java/won/owner/service/impl/OwnerApplicationService.java
merged
fix bug with iterating over message types when counting down unread messages
merged
fix bug with iterating over message types when counting down unread messages
enable sort and ordering in posts table (postbox page) and messages table (private link page)

in messages table smart-table approach is used
in posts table the pure angularjs approach is used (smart-table didn't work for some reason here)
moved timestamp generation to server, fixed small bug
userService problem
Merge branch 'devel' into feat-postbox
fix bug when toggling conversation types
Merge branch 'devel' of https://github.com/researchstudio-sat/webofneeds into devel

Conflicts:
	webofneeds/won-owner-webapp/src/main/java/won/owner/web/websocket/WonWebSocketHandler.java
Merge branch 'devel' into feat-saveDraft
Bugfix

save draft bugfix