rename preview/debug modes to layoutcontrol

We now have instances of preview_mode and debug
against the user interface of Layout Control

This commit moves the files from preview_mode to layoutcontrol
and renames all references in ths source files
(at least those that caused runtime exceptions).
Merge pull request #302 from uliska/rename-preview-mode

rename preview/debug modes to layoutcontrol