Fix array variable handling

Needed to use array parameters with certain APIs.
Add spec for array variables

I ran this spec in the bare `support/0.4.x` branch and it fails there.
It passes here.
Bump version number; update CHANGELOG
Merge pull request #9 from BlueKai/handle_array_variables

Fix array variable handling

cr: @krobi64