Merge pull request #273 from andygup/gh-pages

Update gh-pages
change offline libs from min to src
force online check before each edit.
on load force lib online
update code comments
added JS media queries
offline restart - features restore correctly.
minor correction in doc
added code comments
css updates. Fixes landscape height bug
updates doc
edits now carrying over on reload.
phantomLayer test draw works.
Corrected event type to CACHE_ERROR
slight mod to appcache file
updated appcache
consolidate offline event handlers
update doc with new methods
add new methods
comment out appcache error alert