Fairly complete bigarray support.

I believe the Bigarray API is fully implemented, however, comparison is
known not to work (along with hashing/serialization I imagine).
use an enum for data_type
Merge pull request #132 from andrewray/bigarray

Fairly complete bigarray support.