Rewrite the sysprep parameter mechanism

Rewrite the mechanism to have better control on the system preparation
parameters. Also change the way the parameters are updated in the UI.
Rewrite file selection function

Make it more general. Till know it was only used for selecting the input
media but other parts of the program should also make use of it.