Update email-alerts.php

Added action on line 27 for save_post
Added function for save_post hook on lines 102-118, based on structure of others
Added permission for edit_post on lines 126-127
Added checkbox validation line for edit_post on line 138
Added profile update line for edit_post on line 149
Added current user check on lines 166 and 170
Added vars_edit_post function on lines 230-239
Added $vars[ 'blog_name' ] to other functions
Added subject_edit_post function on lines 282-284