Add print_properties_file.py script

Includes:

 - Refactor update_db_properties.py