Update model to check if _isQuestionType

Fixes #336
Missed out Adapt object
Fixed model to check if componentStore is defined
Merge pull request #337 from adaptlearning/issue/#336

Issue/#336