- Updated API put image check as per docker-registry 0.9.0
- Updated spaces based indentation of images.go to 4 spaces