Add a new method, `translate_by_size`, to rectangles

Forgot to submit this PR with servo/servo#4460.

r? @glennw (or whoever)