Fixed compile errors after last Qt 5.4 patch

This changes argument references in  `Converter::type`, `QVariantListIterator` and `QVariantDictIterator` to `const` to allow using `QVariant::value<QJSValue>()` return values directly.

Also changes `QVariantConverter::dict` return value to return `QVariantDictIterator` correctly.