Parameterize localStorage instance used by drivers.

So that we can pass window.content.localStorage to driver when
developing Firefox extension.

Signed-off-by: Wei-Chung Wen <morisato3711@gmail.com>