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
remove direct links to external sites from source templates, fixes #195
Fix: when downloading bulk documents on journalist interface, use the database designation for the source (closes #207)
Fix: when viewing the flag route on journalist interface, use the database designation for the source
Fix some typos.
Fixing error introduced in e68561
Merge pull request #206 from pemulis/master

remove direct links to external sites from source templates, fixes #195