Fix #417 device array for cuda.autojit

- Add _numba_type_ attribute for extending typeof
Why the trailing underscore?
Also I think it would be nice to add a small comment or docstring here.