Adding getBinOwner sql template
Renaming isPrivate to getVisibility
Updating mysql script to add visibility column as ENUM