Add metadata.xml, make DEPENDs RDEPENDs, add qtjsbackend and qtxmlpatterns deps.