Improve log/trace formating a bit
metadata: Don't use a common .NFO file for multiple videos in same folder

Also reduce number of calls to the metadata providers by coalescing metadata
lookups better

Fixes #2356
posix.c: Remove some unused crap
net_posix.c: Fix strict aliasing issues
Some fixed in common code for NaCl