Basic implementation for BlackBerry 10

Still with problem in connecting the ui portion (js) with the native
portion.