Define vasprintf is native, for Blackberry
Update for Blackberry10. Update deprecated functions. Add support for Portrait QWERTY devices like Q10.