number of big changes that can break stuff

- moved the project configuration functions to its own file
- moved all remaining project specific configs to own file
- moved all generic string functions to generic
tst update
fix: sanitize config based on project
make it possible for user to clear a history
IRC: allow some html which is safe