Fix bug 1019227: Embed prototype agreement as PDF.

Renames Agreements to SignedAgreements and adds an Agreement model to
store different versions of the agreement. The agreement is now stored
and displayed as a PDF using PDF.js.