[CB-3438] Add media plugin to BB10

- media operations handled in controller web view
- added code to prevent error dialog from freezing app

Tested by Tracy Li <tli@blackberry.com>