support for NSSet and fixes for ARC projects

support for NSSet types and other more primitive types
fixes releases object in ARC projects