maketx fixes -- fix making textures from source images that are crop windows.
Crop windows should be handled by considering them black outside the
crop region, not clamping.  This was leading to strange artifacts.

Also fix imagebuf.cpp getpixel/setpixel -- subtle difference between
Iterator::exists() [data exists for the pixel] versus valid() [pixel
coordinates is outside the iteration range].
Make ustring::TableRep match allocation & deallocation (malloc / free).
It was previously doing malloc / delete, a mismatch. Pointed out by Mark Leone.
Fix incorrectly named OpenEXR include files
oiiotool: work around iostream 'showpos' bug (used by tinyformat)
The bug that affected --croptofull with 0,0 origin.
It appears to be present only for some C++ library versions.  It's
been verified on a couple versions of OSX. Seems fine on Linux.
Fix build errors with alloca/isinf/isnan/isfinite, using MinGW on Windows.
Add a unit test for Timer.

Among other things, this unit test times how expensive a Timer is.
Answer: a Timer begin/end takes about 0.3 us on my OSX laptop, around
0.07 us on a souped-up Linux workstation.  YMMV on other platforms.  But
use this ballpark as guidance for the granularity of which things can
safely be timed without the Timer itself making things appreciably more
expensive.
More diagnostics in imagespeed_test to pinpoint bottlenecks
scoped_array template for simple memory management of dynamically-alloced array
ImageBuf perf improvement -- hold local pixels in scoped_array rather than std::vector
in order to reduce needless initialization of the buffers.
ImageCache perf: for tile pixel mem, use scoped_array rather than std::vector
in order to avoid useless initialization of the memory when it's allocated.
ImageCache perf: use scoped_array rather than vector for read_untiled temp memory
ImageCache perf: read_untiled autotile case -- use read_scanlines instead of read_scanline
ImageCache perf: refactor get_pixels to do fewer tile queries
ImageCache speedups -- remove pow2 roundups of autotile tile sizes.
This was an artifact of an old restriction of TextureSystem which is no
longer necessary.
oiiotool - fix minor bug where tiled files were output inappropriately.
Merge pull request #480 from lgritz/lg-icperf

ImageCache/ImageBuf read performance improvements
imagespeed_test improvements: refactor, and add tests of image iteration speed.
We compare pointer arithmetic, versus getchannel(), versus IB::Iterator,
and for each of those for loaded versus cached images.
Convert ImageBuf to use PIMPL idiom to completely hide implementation detail
from the public interface.
Refactor ImageBuf iterators -- move as much common material from Iterator &
ConstIterator into a shared IteratorBase class.
More refactoring of ImageBufImpl and ImageBuf::Iterator for performance.