first pass of refactoring for fix qmmm.
- remove global variable and make it an argument
- make all local variables/arrays static
- make internal member functions protected
- clean up the ridiculous lookup code for covalent radii simpler
- make that r_cov lookup use the error class