BAC-1011: move getDatabase.sh functionality into getDatabase.php,
import city_list and city_variables from production
allow short name or full url for hostname param
Merge pull request #2674 from Wikia/BAC-1011

BAC-1011: simplify getDatabase.php