Fixed StyleCop issue

Added // <auto-generated /> to code.
Fix snap bug

Fixed snapping bug in size.
Added grid and snap settings

Grid and snap objects now derive from settings.

Need to figure out if we want notify property changed on settings
objects or if we need it for the grid.