operations: Port apply-lens filter from GIMP
tests: Add test cases for apply-lens