Update to support ArcGIS JS API v3.9

Closes issues #191, #192 and #193 since they are all related.
Adds new library OfflineTilesEnableryLayer.js
Updates documentation and README.
App-cache samples now work with JS API optimizer