Avoid failing on composer self-update.

Only run `composer self-update` if the composer binary is owned by the
running user. If composer is owned by, say, root and a non-root user
runs causes `composer self-update` to be run then the command will fail.
Merge pull request #82 from engineyard/composer-self-update

Avoid failing on composer self-update when composer is not owned by $USER