`type` on Link models is a string instead of LinkType

There are a lot of models that implement Links but implement the type attribute as a string and not as a relation to the LinkType model. This blocks the implementation of dashboard#186 (closed).