minor adjustments

Fixed a missing </p> tag.
Replaced impostor apostrophes with proper curly ones.
Attempted to fix spacing issues. Many inline <code> sections don't show spaces in front of them on the site, and the random line breaks in the code file didn't seem to have a purpose.
added/removed spaces as appropriate
fixed typos
apostrophe replacement

Because it’s one of the few things I know how to be a typographic snob about?
inserted a missing "a" in the word "database"