Add a 'synchronous' return facility for the communication bridge

Only works from JS to Java.

Change-Id: Ie3f61a88a594708cbb97136be02d01db5a899919
When loading images fails, fall back to loading them from storage

Change-Id: Ia3dd8c7e19d3754824a5def86768916a8e456581