qmljs/qmljsdescribevalue: try to use context to resolve prototypes

Change-Id: I0e8529dc339e995be1817b2f3d18ca9bc2c80738
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>