Added BlackBerry PlayBook support
Bug memleak when getting the number of mouse buttons on a non-PlayBook where an appropriate device is found and the value is returned