Re-refactored image scripts.
Now handles servers which only keep some sizes.
Now allows some sizes to be kept locally.
All scripts tested.  All unit tests passing.