Remove unused flags field
Merge branch 'ndadapt_refactor' into flat_speedup

Conflicts:
	numba/_helperlib.c
	numba/targets/arrayobj.py
	numba/tests/test_numpyadapt.py
Refactor a bit