Made variables track their source buffers

e.g. im.elem_size where im is an embedded constant 
image.

Fixes #289
Merge branch 'master' of github.com:halide/Halide
test for embedded images that get simplified away