Privatise private headers and modules.

Change-Id: Iaad9cdc897ba19acfdbfc136e4baf959cabc3f70
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>