QmlDesigner: Add Loader check in ModelNode::isComponent

Change-Id: I39844e70f5e916df95bfede3878c823364594047
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>