Added the possibility to select shapes pragmatically.
Merge branch 'master' of github.com:mxcube/mxcube