Handle local roles after checkout/checkin

issue initially created here with a good fix: http://plone.org/products/iterate/issues/28

Local roles assigned on an object (for example through sharing tab) will be kept after a checkout and checkin.