Install portal gem dependencies as user www-data.

This is to avoid a problem with a newer version of the solr gem that occurs if
it is installed as root.