Downloads

Added a checkbox, which allows users to choose if they want people downloading attachments from emails to be logged into moodle or not.
Please remove commented out code.