Refactor cache implementation
Refactor cache implementation

Hide cache get and set operations behind the `getScene`. It returns a
promise that resolves with the parsed scene object. If the scene
object is cache it just returns it, otherwise it sends a HTTP request
to get the file's content and returns the parsed content.

potomak/gist-txt