Create Env module for methods specific to the running environment

See https://github.com/remotestorage/remotestorage.js/pull/517#discussion_r8058040
This is just a quick draft (no comments nor tests for now) to see if I understand what @skddc means.

This would allow to listen to events from Env in `sync.js`, instead of having browser specific code.