Fixed up lock system for better database schema.
Groups can now be added as guests to locks (No command yet)
Guests can have different permission levels