Fix Rez Perms

If perms are changed on object while inside inventory, when its rezzed
it will revert to original perms from last time it was set in world.
This fix applies perms from inventory item to the object during rez.
Merge pull request #166 from AliciaRaven/FixRezPerms

Fix rez perms