Code refactored

1.Availabilty set with extension set testcase added.
2.Docker vm create with -o option testcase added.
3.Code refactored for taking common methods from a utility function