chore(access): Pull most acl logic into an OO service

Refs #3568
chore(relationships): Move SQL logic into OO service
chore(security): Move site secret logic into OO service
chore(users): Move users logic to OO service
chore(metadata): Move most metadata logic into OO service
chore(i18n): Move languages logic into OO service