c++ mapnik style
image_data : re-factor  (ref #2491)

* factor out raw image data alloc/dealloc into separate detail::buffer
* remove shallow ctor
* remove no-op dtor from image_data
update cpp tests - ref #2491