Put the hard-coded error domain name in a #define.

This allows callers to use the name without hard-coding it themselves.
Merge pull request #109 from tipbit/define-error-domain

Put the hard-coded error domain name in a #define.