Admin template cleanup

no need to assign attribute
allow custom admin forms for object attribute
Removing object attribute when all fields are empty
work on edit template
Add get_attributes hook
Add docs
Add get_attributes_edit_success_url hook
Update test database