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

changed logic of is_app_installed, Bug #931865