Add fileId column to attachments table

This makes it possible to add file to GridSQL before the comment owning the
attachment is created. It is needed to stream email attachments. In email
attachments the file may come before we know which comment owns it.
Use emailArchive table as the email review queue too #101

Add state column indicating the state of the archived email.
Display js recompile status on the page
Use envelope avatar for email only users