Changes to work on IOS < 5 and armv6

I added getter and setter methods in "Message" because are required for IOS < 5.
CoreData mechanism has a slight different implementation for IOS 5.