SLE12 support (bnc#900660)

- includes some more bug fixes which I found during testing
well, it is not consistent with rest of modules. I think with new devtools it is already fixed and it do not break in build service.