Bug 867231 - add a Save button to the Gallery Open activity

This is still a work in progress. It includes test modifications to the email app, and is being thwarted by an apparent gecko bug.