Updated shared_db to account for multi-app environment

This update makes things easier for people with more than two apps in an environment able to share a single database. Also discourages the use of keep files and deploy hooks in applications so big win there :wink: