Removed extra param.
Removed more unused params.
[bug 1033476] Added option for updating cache.

This is only available if the documents cached are less than 5.
TODO: Cache topics too.
Added UI improvments for updating cache.

Also updated gulpfile with a new 'loading.gif' image.
Fixed document keys.
Code cleanup.
Correct key is now used to fetch a document.
Working "Cache all documents".
Optimizations for caching all docs.

Also removed some (now) dead code.
Code style cleanup.

Need to fix the loading bar to load in the correct order too.
[bug 1033476] Removed extra vars.
Removed random text.
[bug 1033476] Fix for loading bar.
Fixed location.path access.
Removed extraneous promise.
[bug 1033476] Fixed promise.
Merge pull request #1 from mozilla/cache-1033476

Cache 1033476