add rudimentary support for shared memory.
currently shared memory globals are not first-class values,
which means you can use them directly, but you cannot
create a pointer into them and pass it around, which would require
supporting pointers with address spaces in the Terra compiler.
This is something that is not tracked at the moment.
Merge branch 'master' of github.com:zdevito/terra