Implement e-mail notification, fixes #2

Sends e-mail to project owner on project approval
tweaks
template consistency
referrer add/delete workflow
properly add Access-Control-Allow-Origin headers (closes #4)
Merge remote-tracking branch 'upstream/master'

Conflicts:
	server/views.py