Initial upgrade release

* Modified getVar to return whole numbers as numbers instead of strings.
* Updated manual download link.
* Upgraded the searchJSON function to avoid unnecessary API use by using page information when possible.

While testing, this version includes notices to let the user know if the API or page info was used for modifying the page. No notice means neither was used.
Reduce references/Increase readability
Reduce references/Increase readability
Reduce references/Increase readability
Remove trailing space + getVar number fix

Test for whole numbers wasn't specific enough.
Reduce references/Inc. readability + "Async" fix

When using the fetchInfo function, there is no pause in the script unlike the fetchJSON function which runs in async mode. This causes the two functions that serve the same purpose to act differently due to how they end up letting Danbooru's JavaScript run. Using a 1 millisecond timer to interrupt the flow of this script when using fetchInfo is enough to fix this.
Update README.md
Missing img test fix

The test for missing images should just check if the number is equal or not equal. Sometimes the number of thumbnails on the page can be more than the number expected or wanted (specifically the first page of searches).
Missing img test fix with regards to limits

The thumbnail count shouldn't be included when the user limit isn't allowed.
Update README.md
Less reliant on the API + show_deleted & show_all

Not sure whether this will be version 4.1 or 5.0 when done, so I'm using 4.1 for now.

* Added in a show_deleted and show_all option.
* Updated the script so that all options besides the "show_x" ones can operate without a "show_x" tag set to true. This means thumbnail_count, image_resize, load_sample_first, and script_blacklisted_tags can work with no API.
* Updated the thumbnail_count option to make all post search links and the search box include the limit option.
* Made regular expressions not capture when unneccesary.
* Updated the fetchInfo function to work with images removed by artist request.
* Integrated another Danbooru function to simplify the script.
* Updated the searchAdd function URL paths.

Time to test and do some more cleanup.
limitFix xpath mistake
Unnecessary line
Cleanup
Missing img test fix + Better comments handling

* Attempted to make the comments portion handle differences between the API info and page info a little better.
* Changed the underscores in the tags for the comments page into spaces to match the rest.
* Updated the missing img test for searches to also test the expected number of thumbnails in order to stop potential false negatives.
Allow user limit on post search box + Cleanup
Add options menu for logged out users back in

Seems it was completely removed at some point.
Allow "+" and "-" links in individual posts
Cleanup

Removed notices for testing and rearranged some things.
Version 4.1