Update for Blackberry10. Update deprecated functions. Add support for Portrait QWERTY devices like Q10.