Add email notifications for directory updates

- Added php-based email notifications to the hr admin team whenever a
user updates their address in the staff directory.
- Also fixed minor javascript-based issue related to changes in the
image uploading system.
- NOTE: As part of this change, the system will, by default, send
emails to the hradmin team, unless a constant is defined in the
web-config.php file for wordpress. I have added this constant to the
web-config for the dev site.