+ backport image_reader from buffer/string from image-readers-c++11 branch
+ fix warnings when compiling with g++ 4.2.1 on os x