Feature join team

Partial fixes for #2 and #3. Specifically, adds model level support and validation for joining teams but not views or templates.