Import patches-unapplied version 10.1ubuntu5 to ubuntu/cosmic-proposed

Imported using git-ubuntu import.

Changelog parent: cf5a2e5442852b468a572214f3420171d355e612

New changelog entries:
* Install locale-check command to /usr/bin and invoke it from
/etc/profile.d/01-locale-fix.sh to ensure locale related environment
variables are set to valid values. (LP: #1134036)

New changelog entries:
* Add CC0-1.0 to common-licenses. Closes: #859649, #882628.
Source: https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt.
* Simplify debian/rules a little bit by dropping install target
and using override_dh_auto_install instead. Closes: #886901.
Package should now build from source again in every supported way.
Thanks to Daniel Schepler for the report and to Niels Thykier for
clarifying the true nature of this bug.
* Do not create /etc/staff-group-for-usr-local on new installs anymore.
Do not create it on upgrades either, as we don't support upgrades
skipping stable releases, and even less skipping several releases.
* Standards-Version: 4.1.3.