Move TestRepository from sdk to own file in installer lib

Moved the class to installer lib so it can be reused
in ProductKeyCheck as well.

Change-Id: I8b207f4816505671fa05ebf602895978e04d13e9
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>