Snap resizables to a grid when the shift key is held

Defaults to 10px.

Change-Id: Idf760c446778b437edbc3cb209b04cbee1d96fb7
Merge "Snap resizables to a grid when the shift key is held"