Refactoring codes and support complex virt-sandbox options testing

The current test framework doesn't support complex options testing of virt-sandbox, the patch is used for solving this issues, for details, please check PR 1330. In addition, the patch hasn't automatically generate sandbox option mapper this time, because it's not trivial work for me now.