checkTypes: new mode strictNativeCase

- implemented DocType.iterate
- added case test with new rule value

Fixes #51
Closes #59