Prevent to add the same ogc parameters twice

Also simplifying code so that QStrings scalar objects are not recreated
from scratch (passing several times char * instead of QString objects in
plain Qt API calls).