Renamed post-install.xql to post-install.xq in assembly files.

References #532.
Added support for elevated rights for certain scripts.

References #534