Remove singleton pattern in base_generator

A generator doesn't need to be a singleton and this causes problems
when executing unit tests. This code was simply a left-over.

Change-Id: Ieaf71bf824a630c75c95b190f34cc55a812d7fc0
Closes-Bug: #1300675
Merge "Remove singleton pattern in base_generator"