Fix constant tuple regression in macro expansion
Also improves error messages when non-constant is used with macros
Modify test to exercise the const-tuple marco
Enhance testing for macro support
Add test for issue #872
Fix #872 (macro expansion in multiple blocks)
Fix test
Deduplicate macro shape checking code
Merge pull request #867 from sklam/fix_tuple_constant

Fix tuple constant in macro
Merge pull request #873 from gmarkall/fix_macro_expansion

Fix macro expansion (issue #872)
Merge branch 'master' into codegen