Refactor checksum
Handle extra-paremeter within checksum calculations
Refactor the image size storage
Remove unused parameter
Switch json/payload order
Make sure the index also receives the checksums
Merge pull request #1268 from dotcloud/refactor_checksum

Refactor checksum