Git hygiene

Marked .DS_Store files as ignored
add basic code generation testing rig and 1st test.
Fixes #554
Merge pull request #566 from parrt/args-as-templates

Args as templates