and add handling of the N_LINES guides type. Hardcode "4" in GimpdrawTool for now, it's currently unused anyway.
Removes a lot of code from the rectangle tool and fixes off-by-one drawing problems because in image coordinates, lines can't be aligned correctly with rectangles.