Play nice with other packages that autoload
Change tested constant to reflect WP-CLI docs

WP-CLI's Wiki recommends testing against the constant `WP-CLI` to test
if the program is being run.
Merge pull request #11 from gMagicScott/play-nice

Play nice with other packages that autoload