Use QStringLiteral instead of QLatin1String

Also fix one place where v8::Value was used

Change-Id: I78745954fc987c7b3f247654706493d90cf91149
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>