Change where we enter settings for config.php

To make upgrading easier, move where we enter settings so that they are not lost when we overwrite config.php. This will require saving these vars in session. So config.php will have to be updated as well as the tinymce init() accordingly.