moved add security to top rail
properly clear out emails and documents lists after sharing docs. fixes #834
basic clean up on create security fixes 781 as well as laying groundwork for other things
Merge branch 'bert'. Fixes #834
Merge branch 'master' into split_fix