Fix bugs in setup_ubuntu.sh

Reflects splitting of requirements.txt into source-requirements.txt
and document-requirements.txt. Updates config before setting up
db tables so runtime tests pass.
Merge pull request #186 from diracdeltas/fix/setup-ubuntu

Fix bugs in setup_ubuntu.sh