Look for "exists" when no TOC was used

Only when using TOC-file in the namespace this will be set. It will
result in problems if we do not check properly
Implement custom "enable" function

Otherwise it would also disable all other temporary disabled plugins.
The original enable and disable functions directly write to the plugins
directory. But we only want it to be temporary.
Improvements to the TOC file creation.