Core: sync view on data type change (#576).

When changing a type's data type in a type form while the former data type and the association are visible on the canvas, the association disappears. It does not exist anymore.

BREAKING CHANGES

Core API Type interface:
    - `setDataTypeUri()` has a `directives` parameter

Close #576