Add compile time optimisation to record fields macro
Allow expansion of local macros via Macro.expand/2
Add typespec syntax for records
Merge pull request #2521 from ericmj/record-typespecs

Add typespec syntax for records
Fix stacktrace in Module.get_attribute example

Closes #2522.
Clarify attributes and exit signals in the language