gpuwarping module refactoring

* Switched to Input/Output Array.
* Converted `gpu::ImagePyramid` into Algorithm to hide implementation details.