Fix constants to reference correct plugin

The constants passed to Ai1EC/Core must be those of the currently registered plugin, not some other, arbitrary plugin, as it may cause conflicts.
Also there is some dependency on constant names which must be respected if one is to use autoloader provided by Core.