Messaging reorg fixes, Fix document uploads for new web2py, Doc roles for DRMP tweaked
Fix submission of inline files (works on FF, Chrome, but not IE10)