added support for custom translation domain and some fixes
Merge branch 'sonata_type_buttons' into c_prod