Imageset union

@skirpichev, @mrocklin Please have a look.
thanks.