regrouped commands in build script

This takes better advantage of the various stages in the [build lifecycle](http://about.travis-ci.org/docs/user/build-configuration/#Build-Lifecycle):

* moved the update package list command into the `before_installation` section
* moved the commands for installing PHP extensions and Drush into the `install` section

Please review and merge if deemed OK/worthwhile.

Thanks!