Add check for removed modules in Python 3

Some modules like commands were removed in Python 3.
Add H237 rule to check this.
This is also asked from https://review.openstack.org/#/c/55406/

Change-Id: I7811bbf2ada79e2af988707e0851a2a2e64d3bf7
Merge "Add check for removed modules in Python 3"