Added client side caching with localStorage. Added filters for modifying cache times.

Signed-off-by: Bjørn Johansen <post@bjornjohansen.no>