various small cleanup steps to dynamic type selection for angle/dihedral/improper
- remove redundant type_detector.h copy
- whitespace and formatting cleanup for all changes
- some more spelling fixes
- fix several memory leaks
- properly use enumerator and set its scope
- use more meaningful TypeDetector->get() API
- remove "citeme" reference, as the added feature has only and extremely minor relation to the paper cited