cleanup alphanum.hpp

Modifications for spring:
- modified to be case-insensitive
- removed DOJDEBUG code and unit test code
- conform to spring coding guidelines