Modify dealing link type and parseMimeType.

* Modify text/haik-link to text/x-haik-link
* Consider mime-type parameter
Add test parsing mime-type string