Merge pull request #216 from lroberts/lor-confirmation

Misc fixes from @lroberts
resolved pdf out-of-memory issue
php zipfile#addFromString was causing the leak, we now write to tempfiles
and use zip#addFile which keeps memory usage flat
Refactor pdf memory issue changes for clarity and consitency.
Removed what appears to be unecessary ememory manamgement now that zip archive has been identified as the problem with PDF archives.
Return some memory management to the applicant download PDF archive.
Added an array method to File Repository and use it in file store to get a read only reference so we don't run out of memory on large batches.
PDF Templates can be used to control the exact format of an output PDF.
Update PDFLib version and fixed deprciated methods for PDFLib v9.
Fix postDown on Migratoin Version20130219000000.
Added sort display element to Standard page and modified single applicant and PDF template to use this variable to modify and organize the applicant display.
Add external ID to applicants so they can be identified in third party applications and campus systems.
Allow applications to be created as By Invitation Only so applicants cannot create their own accounts, but must be invited.
Added create applicant function so applicants can be added by admins.
Allow applicant to be created with a deadline.
Better display and enforcement for application deadlines.  By invitation only applications can have no close date.
Send an email when a new applicant account is created.
Added bulk uploader to create new applicants from a csv file.
Fix standard page setVar so it doesn't reject those that don't need to be checked.
Fix lastLogin display problems resulting from applicant being created who have never logged in.
Sort global pages by title in global page manager.
Fix applicant export when an open date is set, but not a close or being date.
Fix setClose on Application entity to set to null instead of empty string.