json_object_merge(): Only recurse if both source and destination are objects.

Turns out that we might like to completely overwrite objects with other data types.
thcrap_tsa: Add a function to fetch HFONT pointers from a predefined block.
thcrap_configure: Use the correct stack patch ID when removing dependencies.

Also renaming the variables since it hasn't been obvious enough.
scripts: Filter out Thumbs.db when enumerating the files of a patch.
win32_utf8: Add EnumFontFamiliesEx().
Don't include run_cfg among the parameters for a patch hook.

Come on, this thing is global anyway.
bp_file: Refactor the patchhooks_run() call into its own function.

5 parameters, one of them wrong... OK, too much duplication.
fr_tls_free(): Take the file_rep_t object as a parameter.

Even less duplication! \o/
Don't pass the run configuration to thcrap_plugin_init().

... yeah, why?
BP_ruby_offset(): Use TSA font block IDs for the font parameters.
Move UTF-8 BOM skip on JSON loading to json_loadb_report().
Revise file size handling in file breakpoints.

After changing the variable names to better reflect their actual usage and removing unnecessary conditional branches and intransparent additions, the code becomes a lot clearer.

Most notably though, this fixes a bug in patch configurations that have both a replacement file bigger than the original and a .jdiff patch on top: Previously, patchhooks_run() would have only received the size of the game's original file, cutting off the replacement file in the process.
Thanks to Gamer251's Mima patch for creating such a configuration and revealing this flaw.
Remove the file_size_patch breakpoint.
Cleanup.

Yeah, haven't had one of *those* in a while.
json_object_merge(): Allow to overwrite the old object with non-object types.

Turns out that a certain modder needs to wipe everything below his patch.
Really though, this should have always worked.
thcrap_configure: Use selection objects in IsSelected().
thcrap_configure: Refactor selector matching into its own function.
thcrap_configure: Fix patch removal to work with absolute dependencies.
Bump version number to 2014-05-28.