Add api extension for devices binding
Change structure of databaser table with device bindings

Now it stores device_id connected to domain_id and with any subdomain (data)
field
Change db model for binding device with domain table

Now model is same as table created in migrate script