add dal-xmodel support for objective c language
enable auto memory management
bug fix and new test case