update composer before travis builds

Add composer self-update to deal with old composer versions
on the travis VMs that don't support psr4 namespaces.