[BUGFIX] Avoid Fatal Error when adding plugin as new content element.
[BUGFIX] fixing determination of page uid. See
http://forge.typo3.org/issues/50551
[TASK] cleanup constants.txt