Bug 991657 - [v1.3] Backport test_cards_view_with_two_apps.py test to v1.3

This fixes the issue with the install of mozdevice and reverts the previous revert