Adding support for ViewLocationExpanders to allow modifying view locations

Fixes #1039
@yishaigalatzer I don't follow. Could you elaborate on this?