Fixed compatibility with Lamplighter/devot:ee

Hi Chris,
Any chance you could merge this in, to make your accessory compatible with Lamplighter?  Our module loops through all of the third_party folder, and includes each of the add-on files in the base directory, and runs into a php error on morePreview, because $this->EE->cp doesn't exist.

Thanks!
Dave