MRG: make data, affine, header properties, test API

Add:

* img.header - prefer to img.get_header()
* img.affine - prefer to img.get_affine()
* img.dataobj - direct access to old img._data

Add tests of image API so that someone implementing a new image type can
test whether they conform to the API.

Use the API tests to check the new properties.