[lipstick] serialize/hide devicelock plugin arguments

Do not merge untill devicelock encryption plugin pull request have been merged.

This pull request serializes commandline arguments so it can be piped into encryption plugin's stdin.
operator const cast *() for bytearray is obsolete. There is direct QIODevice::write(const QByteArray &) available.