Fix references to url
optipng: update head url
Bump CB-SG version to 1.0.4

Latest  branch appears to be 1.0.4.
sync_gateway: update 1.0.4 bottle.