fixed comment in document interface config.py
removed secret value from being in build.log
set ownership and permissions for application code
changed ref to SOURCE_IP to APP_IP in the validation_CONFIG_OPTIONS
Merge pull request #184 from dolanjs/interface-install-fix

Interface install fix
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.
Quick fix for 'KeyError: "flagged"' on new session

Fixes #185. We need to set the flagged variable on login, since
most people will clear sessions between checking for replies.
Simulate session logout in test_reply

Realistically, clients will clear sessions between submitting
docs / checking for replies, so we should simulate that.
test.py will now fail before 195d0ef and pass after, as
expected.
Add session-clearing to all tests that need it

Add test for logout (clearing a session) in the source
unit tests. Also clear sessions in integration tests
whenever a source/journalist is probably going to
close their browser.
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
Merge branch 'master' into fix/flag_keyerror
Remove unnecessary path check, add reasoning for _logout
Simpler solution to avoid KeyError
Merge pull request #188 from diracdeltas/fix/flag_keyerror

Fixes #185 and modifies tests to clear sessions whenever a source/journalist will likely close their browser.