Retrieving default group joinable value from the admin config
Issue 543 - Hiding content and discussion libraries when the library owner has a non-public visibility.
#543 - Refactored resolveTargetLibraryVisibility into resolveTargetLibraryAccess

resolveTargetLibraryAccess now returns whether the current user has access to a library
and if he does, which library stream should be shown.
Removed JSON.stringify from error assertion.
Merged master into issue-543-library-leaking
Merge remote-tracking branch 'simong/issue-543-library-leaking'
Fixing else if alignment with brackets