Checking if access rule exists in share api

Added db method share_access_get_all_by_type_and_access.

Closes bug 1271520
Change-Id: I07702622cc920a04f8333bcf0634f01467c29965
Adds network creation to ShareManager

Partially implements: bp join-tenant-network

Change-Id: I85a69e882ad299b059e40bfea850a169e6e4660d
Merge "Checking if access rule exists in share api"
Merge "Adds network creation to ShareManager"