fix compiler warnings (mainly unused vars)
ensure /dev/pts is mounted (bnc #824297, bnc #755845)
Merge pull request #37 from openSUSE/sw_20

Sw 20