Makefile improvements. Don't run rootcint with ROOTCFLAGS.

Also, extract CXX and CC from root-config instead of hardcoding the
compiler names.
Rewrite and update UserDetector::ReadDatabase