Adding autosaving during badge editing

This adds autosaving (currently every ten seconds) during badge editing.  You can also manually click the save button (which resets the autosave timer), though this no longer takes you out of badge editing.