Functions: get_model

* Added escaping wrapper to get_class
Attr model: get_attr

* Fixed good old get_attr method of attr model
Database model: relations

* Merged relations into attrs
* Added object prop relations as a relation swap
* Added automatic has_many save
* Added automatic belongs_to save to parents
* Dropped static props: belongs_to, has_many, has_one
Models, database api

* Fixed database models to new api
Error reporting

* Reports on cli now have txt format
User contact

* User contact is now deletable by relation changes
[fix] Database class

* Fixed old method names
[fix] Database model, get has_many

* Fixed foreign key resolution for database model has_many
Database structure helper

* Fixed database structure helper
[fix] Old method names
[fix] User perms

* Fixed user perm columns in query
Database model: foreign keys

* Database model adds is_generated and rel attrs to generated foreign key attrs
Database model: Attr list getter

* Added attr list getter to database model
Forms: ignore button submited

* Added form input ignoring for button_submited