added pdf file handling in upload template tag;
Merge remote-tracking branch 'origin/master'