Add troubleshooting subsection to development documentation

* add a timesaving paragraph on disabling secure cookies for development purposes in documentation
* minor fixes to modelines, which was painful for emacs users (should not affect other editors, though)