Add PPA option for CouchDB, refactor role, remove X dependency from Erlang.