Update deployment targets

Add OSX deployment target as 10.8
Update iOS deployment target to 5.0
Add CoreData framework