Added cache option

The Loader can now store and retreive things from local/session storage.

The cache parameter can be set to true (session storage), local or session.
Any falsy value will deactivate the cache.