Ubuntu 12.04 bug fixes

The database needs to be restarted to attach to the correct bind
address. Erlang does not need to be installed explicitly on Ubuntu.
Merge pull request #52 from hogepodge/ubuntu_fixes

Ubuntu 12.04 bug fixes