Jb exceptions

- move DECLARE_INPUT_EXCEPTION into input/accessors.*
- introduce EI_Address, and automatically output address in what message of input exceptions
- remove some files from ngh code, use exceptions for ngh errors
- fix several minor bugs