Merge pull request #1322 from billhollings/several-frwk-changes

Several underlying non-functional changes towards Metal argument buffer support.