Added travis-ci configuration.
Added "composer self-update" as before-script in travis-ci configuration.