tumblr_backup: auto-adjust to Tumblr API changes

Restructure the main backup loop so that it doesn't depend on the
number of posts returned by the read API (#15).
tumblr_backup: eliminate a global variable
tumblr_backup: make the tag selection case-insensitive (fixes #16)