Fix a bug where ~/.texlive2013 was owned by root

This caused documents (e.g. beamerposter) to fail to compile.
The problem was that ~/.texlive2013 was being created by LyX's
configure command. Now "sudo -u" is used so that the user owns
any files created by LyX's configure.