Update Agreement Flow

Fixes #82. When a protected asset is requested and the agreement is required the referring page is tracked and after signing the agreement the user will be sent back there. Site-wdie JS pulls the download path from the dom/meta and initiates the download via a hidden iframe.