Implement QUmlPort::provided() and QUmlPort::required()

Change-Id: I2f62bfce30f26017f12bc004f52d795874380757
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>