Fixed tabs -> spaces.
Added operator < to BufferSize, removed equivalent functor predicate.
Cleaned up tests for constant memory buffers.
Fixed computation of the size of an image buffer.