Specialized assign dim

Adds support for appending to array ($array[] =), and creating array by
assigning to it ($a[] = or $a[0] = when $a is not set or null).

(first commit it in #12)