Replace vector/SmallVector with C array for parameter lists.

This has several advantages:
- the code is shorter
- no need to specify number of elements
- only ArrayRef object is created
Merge pull request #274 from redstar/runtime

Replace vector/SmallVector with C array for parameter lists.