Panel CSS adjustments

* Better vertical alignment and reduced empty space.
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.
Status update (I'm alive)

* Added a bbb version property to the user settings to make identifying the current/last version easier.
* Upgraded the border options to support adding/deleting tag borders, arranging borders by priority, changing outline styles, and individual enabling/disabling. Tag border matching supports combinations ("tag1 tag2"), exclusions ("-tag"), "any/or" combinations ("~tag1 ~tag2"), ratings ("rating:safe"), and usernames ("user:namehere").
* Updated thumbnail count to support the notes post listing.
* Updated to allow direct downloads to support the popular and pool post listings as was originally intended.
* Updated the settings panel scrollable section so that it scrolls to the top when changing tabs or reopening it.
* Updated the section arrays to section objects in order to store the section type, title, and text with the options.
* Updated the tooltips so that they recycle the same div for all the tips and use a simpler method for applying a tip to an element.
* Changed the event attributes (element.onclick) to the event listener method to avoid potential conflicts.
* Adjusted the settings panel scrollable section side padding.
Edit button href values

Fixes the color style.
Allow "any/or" and "all/and" searches to be combined

I originally made this to mimic Danbooru's behavior and, going by the "cheat sheet" which said "Or-searches do not work well with other tags", I made it so border matches either had to match all the tags provided or only one. This may or may not be how Danbooru behaves, but being limited to two tags doesn't allow me to test this. Whatever the case, I've now changed the script to allow "and" and "or" searches to be combined. In order to match, all tags not prefixed with a ~ have to be on the post and only one of the tags prefixed with a ~ has to be on the post.

Example: "long_hair ~blonde_hair ~red_hair" will match posts tagged with either blonde_hair or red_hair as long as they're also tagged with long_hair.

On another note, negative "or" search terms work, but their usefulness is probably limited.

Example: "~long_hair ~-short_hair" will match posts tagged with long_hair or not tagged with short_hair. The extra posts that get matched here are the ones not tagged with long_hair or short_hair aka the ones that are potentially long_hair and just missing the tag.
getPadding upgrade + Border help & preview

* Updated getPadding to support the native method and return individual side padding.
* Added a preview button to borders for previewing the border's current style.
* Added a help button to borders for explaining border options and a "?" tooltip for explaining the matching rules.
Preview style fixes + Cleanup

* Removed some leftover styling on the img from when I was using a div with the border.
* Added overflow:hidden to the tip box to make sure scrollWidth kicks in properly for some versions of Firefox (19.1 wasn't resizing properly) and maybe other browsers as well.
Tip bullet & width style fixes

* Firefox and Chrome don't agree about padding and scrollWidth so I've changed things to allow them to fit the tip div container to the content automatically.
* For some reason, Chrome doesn't like having none for the list-style-image as the first setting for list-style so I moved it to the end.
Hex code missing a digit in the help (typo)
API bypass message fix

Apparently my head muddled how it works with the notice cookies.
More flexible section creation

* Section creation functions now simply return the section element(s) (like createElement) so that options for how the section is inserted, moved, and so on are a bit more flexible
Status message + Backups + Multiple rule search + Better error support

* Added a status message to the lower right corner that notifies the user when content is being requested from Danbooru. It can be disabled under preferences.
* Added a backup feature under preferences.
* Custom tag borders now support the status metatag.
* Custom tag borders now support multiple matching rules for a single match. This basically means more complex "or/any" matches.
* Changed the XMLHttpRequest error message for non-Danbooru specific errors to a more generic message in order to support most (if not all) of them.

Still roughing out the text for custom borders and backups.
parseFloat for computedStyle + Stop wasted "all" loops

* parseFloat should do what is needed for formatting the computedStyle.
* No longer run the "all" exclude loop if a negative match is already found.
Resize by width & height options ("rough draft")

* Changed the resize link under the sidebar options to two links for resizing to the window width (default behavior) and resizing to the window height and width.
* Added an option for setting how automatic resizing will resize the image.
* Gave the status message a little transparency.
Name fix
Arrow navigation fix

Oops.
Name change again...
Panel tweaking + Image drag scrolling

* Added an "image drag scrolling" option that should allow for finer control over the position/scrolling of an image.
* Adjusted the panel CSS and layout a bit more. The main changes are a new "Image Control" section and customized borders for the various inputs.
Fixed image drag scrolling conflict with translation mode

* Drag scrolling will now disable itself when translation mode is active.
Toggle note fix

Forgot a value in the translation mode fix.