Strip TT programs if it's invalid
[B2G] UI tweak for multi-resolution devices support on B2G
Tweak the behaviour of navigateTo during document load
pr #3356

squashing commits.
Merge pull request #3356 from vivin/extract_textlayerbuilder

Extract text-selection, search and match logic from viewer.js
Check that the progressCallback is defined before calling it
Bug 879211: ignoring bad document outline reference
Improves search of EI (end of inlined image)
Fixes missing compressed object detection
Show fallback bar on unhandled rejections
Bug 874851: ignoring bad stream length
Bug 861638: ignoring double-EI
#3248: fixes hp scanner's bad XRef
#2098: scanning for stream length when it's incorrect
#1277: ignoring error for bad "empty" block
Merge pull request #2956 from vyv03354/cmap4_fpgm

Add more sanitizations to TT font programs
Fix typo causing destinations using '/FitR' to fail
Merge pull request #3379 from Snuffleupagus/fix-FitR-links

Fix typo causing destinations using '/FitR' to fail
Fix regression from issue 3312
Merge pull request #3384 from Snuffleupagus/regression-3312

Fix regression from issue 3312