minor user.php fixes
new PDF output class, can handle outputfile and orientation
Merge branch 'master'