Restored original command execution

To patch DB AND to install/move files
Very flexible.
Added the transaction and onTransaction groups to manage correctly DB
updates.
Ops... copy paste kills

Fixed XML structure
Merge pull request #93 from msavazzi/master

Let's go back to original code for AppUpdate and DB Update