Add function to pretty print xml with nxml-mode

From <http://sinewalker.wordpress.com/2008/06/26/pretty-printing-xml-with-emacs-nxml-mode/>