Formatting of edit_xml promises, fixing some examples on the way.
Modified reference/promise-types/databases.markdown to merge synopsis and notes sections into a description section, as well as to edit the same content where necessary.