changed logic of is_app_installed, Bug #931865
Merge pull request #13293 from stupchiy/issue_931865

Bug 931865 - gaia test is_app_installed doesn't check the last page of apps