androiddeployqt: Make sure generated package name parses
androiddeployqt: Make sure generated package name parses

We need to make sure the generated package name does not break
any parser rules in Java. The cleanPackageName() function is
copied from Qt Creator.

Task-number: QTBUG-34245
Change-Id: Ice2f10e25f7f1d93c87c5ced2659e63d386e51a0
Reviewed-by: Paul Olav Tvete <97541fb6312d77f06e19078c7c70b2c1f75fb828@digia.com>

mer-qt/qttools,mer-qt/qttools,mer-qt/qttools,mer-qt/qttools,mer-qt/qttools,mer-qt/qttools