json reporting fixes and new self tests:

* test_asserts, test_json, test_nl, test_printf should cover all of the
  current mintest features
* use a python unit test wrapper to test different build time
  configurations