Die Handler and Function

Added new `edd_die()` function and `_edd_die_handler()` function and changed all references to `exit;` and `die()` and replaced with `edd_die();`.

This then allows Chris and I to remove these filters when `edd_die()` is called to allowing us to run the unit tests on AJAX etc.