Preferences tabs + Cookie & API handling

* Added a preferences tab for options directly related to how the script works.
* Added a "manage cookies" option to allow the improved hiding of various notices.
* Added a "bypass api" option to allow automatic handling of the API features users that log in and out regularly.