update cmake to compile without sqlite3, curses or libxml2 installed.

This is not actually recommended, but your system may not have
this,and you should still be able to contribute. also, libxml2 is on
the way out, I am beginning to really hate it.

Moving a couple of files around.
remove old SQL patch code, we have sqlite now.
rearrange the SlickEdit projects.