Fix documentation typo and add helper method.

Added helper method for getting quoted fields for a M2M table, and
updated a typo in the documentation.