Return array type and set dtype to numba type (fixes issue #245)

- Return type if dtype specified.
- Convert dtype to numba type using ``get_dtype()``.