Rename x/y to w/h for clarity
Update command-line tool to support cropping
Merge pull request #2 from rsaxvc/subrect-api

Update command-line tool to support cropping
Use vector<> and auto_ptr<> for dynamic memory allocation
Convert always-positive variables to unsigned int
Remove RESAMPLER_MAX_DIMENSION limit
Update test.cpp to remove RESAMPLER_MAX_DIMENSION limitation
C++03 portability

Previously this relied on C++11's ability to template
using a class/struct local to the current function.