add output function to standard controler
fix app/ctrl model
add cApplication::queryToXML method