unittest large parts of stboot and remove unused code
I added tests for most code in stboot. For testing routines depending on file system of EFI var access I added a simple dependency injection framework. I also deleted some functions neither stboot nor stprov use.
Edited by Kai Michaelis