change save project logic + reimplement toOpenIndyXml to return a QDomElement + add toOpenIndyXml method to Function class + use OiRequestHandler to save and load projects via xml request