Use a common subroutine for info messages

Print informational messages similar to the way error messages are
printed, using a common subroutine. By implementing a similar method in
the Repository class we can have all messages formatted the same way
when originating from such object.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>