XD-542 Refactor Module to include group and index

Module represents an instance (defined by group and index)
but most APIs passed module, group, and index around.

Encapsulate the group and index and change APIs to just pass
the Module.
XD-508, XD-551 Triggers: Support pagination in list command

* XD-551 Add "trigger list" support to Spring XD Shell

Jiras:

* https://jira.springsource.org/browse/XD-551
* https://jira.springsource.org/browse/XD-508
XD-542 Rework

Add DeploymentMetadata (based on @tekul DeploymentInfo)

Module constructor now takes a ModuleDefinition and DeploymentMetadata.