Better Abstraction in API’s Compose Function

- Extract pubkeys from address and convert address to pubkeyhash‐form
  separately.

- Also, bugfix in `cli()`: `address_name` -> `address`