allow subscripts on array literals

and allow parameters as subscript indices
Merge pull request #1223 from crate/m/array_subscript

allow subscripts on array literals