Cmdb custom validation bug

Changes overview:

* Used dynamic form to integrate custom attributes into main form
* Custom attributes are available on new CI
* Moved some logic from view to form and to model