Include identity_type required by Pyrax 1.4
Merge pull request #3367 from rstrox/devel

Include identity_type required by Pyrax 1.4
Consistent error message handling and comments added.  Fixed bug with missing "msg=" on module.fail_json.
More cleanup.