XD-870 Add Modules List support to XD

XD-870 Full test code coverage for module commands
Renamed ModuleType.equals to equalsType.  Because Sonar was complaining about it.

XD-870 ModuleHandler is now in correct package.
Was in rest package.