make patch XML output better readable (set indenting to 2)

removed unnecessary :root option
remember details of installed patch
patches - properly report install in progress in REST API