add subsurf limits, in RNA, there were none, but subsurf would assert at 29.

Checked and subsurf level 11 gives over 3 million faces from a single triangle. So use this as a limit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56308 954f8c5b-7b00-dc11-b283-0030488c597c
fix for out of bounds memory access in solidify modifier (hidden by guardedalloc).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56309 954f8c5b-7b00-dc11-b283-0030488c597c