+ Added grid support

Added a new option that allows you to work in a grid rather than pixel
by pixel. Default value for this grid is 1. As of now this is only for
dragging.