common: Add GoalMap class

This commit adds a class for an effective storage and management of multiple
goals statistics.

Change-Id: Ibfef751e1a5a621fd1954593fc633700360daab1