win_environment: Clean up, check-mode and diff support (#21356)
win_environment: Clean up, check-mode and diff support (#21356)

* win_environment: Clean up, check-mode and diff support

Changes include:

- Remove trailing semi-colons
- Replaced PSObjects into normal hashes
- Make use of Get-AnsibleParam and types
- Added check-mode support
- Added diff support

* Improve diff-support by using standard naming

I started to use the variable $diff_support for the boolean that takes
care of diff output support.

thaim/ansible,thaim/ansible