Added logging to the migration
Improved migration concerning surplus group

Migration is improved to store remove sampling events from surplus
group, if they are added already to another group.
Also a lot of logging is added, to be able to keep track of what has
happened