for oracle use BITAND() instead of & in sharing permissions sql
Oracle doesn't know & as bitwise AND

Conflicts:
	lib/public/share.php
Merge pull request #3832 from owncloud/oracle_sql_fixes

for oracle use BITAND() instead of & in sharing permissions sql