RIM sells its 50 millionth BlackBerry, surprises even itself with earnings