Fix xc beta6 compilation errors

Mustafa, you have some compilation errors it think this is because you don't have the latest version of xcode (beta6), i have solved a lot of those errors, but still there are some errors in 'MIBadgeLabel', due to a change in the api that calculates the text size (sizeWithFont)