Rewrote PHP coding standard w/r/t PSR-2
setup_db_connections() is deprecated
removed get_db_link()
deprecated more database code
added database config class
php does not like creating stdClass objects without constructor any more so changed the multiple database connection configuration
using config class in Elgg_Database
removed last $CONFIG dependency from Elgg_Database
Don't mention IDE tab width setting, remove mention about renaming
Merge pull request #5406 from mrclay/docs

Rewrote PHP coding standard w/r/t PSR-2
Merge pull request #5434 from cash/database2

More database cleanup