Consistency pass for Images samples

Cleaned up the Image samples a little.

@rgbkrk: The Python examples in this section are wildly different from the others. They all use stdin and stdout heavily, are full programs including imports and credential file paths, and include a *lot* more than any of the other examples by about fifty lines. Any idea what's up with them?