Optimized Offline Behavior

added “Generate Manifest” flag (default:false); added “Items per Page”
setting (default: 250); refactored dynamic app cache manifest
generation; added cache manifest per item blacklisting; added
offline.js to detect if the app is offline; added app cache indicators;
set focus to searchText field when entering search; now using Viewer.js
master and jQuery 1.11.0 - needed to get Viewer working offline on
Safari;