Update gitignore
Register die handler and new edd_die function
Use new edd_die() function
Merge branch 'unit-tests' into refactor

Conflicts:
	.gitignore