rename stack:migrate to stack:set
simplify stack:set
1.8 compat. fix #1121
enable CI tests on 1.8.7 again

see #1100