fix documentation for Record Types

Previously the documentation for `Record` included an example usage of
`Record.defrecord` that was missing a comma after the `name` argument.
This has been updated.
Merge pull request #2927 from mattfreer/fix/record_docs

fix documentation for Record Types