Add new "imgattrib" variable, to allow handy things like changing the
border style on thumbnail images.
Also added a little error checking on variables (invalid variables now
produce console warnings), and an ifdef to make WebThumb output native
line endings.