Improved classes collecting for iOS

As iOS doesn't allow dynamic linking – we can examine only those classes which are in our library's image which is the same image as the rest of user's code.