Allow multiple '.' for a suffix in MimeTypeData

(e.g. ".ui.qml")

Change-Id: I476585649f02651eeb99564417ec46de6346c67d
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Add QmlPrototypeReference::document() getter

Enable access to the private Document
instance in the same way its done
already in the ASTObjectValue class
by adding a const getter.

Change-Id: I0581e527bb766fc72682f2e38d0d8d52d4452deb
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>