Function names in the gitlab module do not follow a consistent naming
convention, making them rather irritating to use.
This commit makes sure function names in the gitlab module are
consistent in their naming. Further, this commit makes sure the log
module is used for printing error messages, where necessary.