Added conditional flags to make some of the core functionality optional

- Made the write user info to xml file functionality optional via conditional flag
- Made the create active directory and configure forests steps optional via a conditional flag
- Updated the groupmembers class so that it could be called multiple times on one run without an error