Refactor the ndarray adaptor and expose the array flags
Remove unused flags field
Merge branch 'master' of github.com:numba/numba into ndadapt_refactor
Keep (data, shape, strides) together for the llarray ABI.
Fix array casting & dispatcher not respecting can_compile flag
Also refactor the function type generation code
Merge branch 'ndadapt_refactor' of https://github.com/pitrou/numba into cudafix_pr816
Fix cuda ndarray head structure for PR 816
Merge pull request #816 from pitrou/ndadapt_refactor

Refactor the ndarray adaptor and expose the array flags
Merge pull request #830 from sklam/cudafix_pr816

CUDA fix for pr816
Merge pull request #827 from sklam/fix_casting

Fix array casting & dispatcher not respecting can_compile flag