client: /main: Resolve available ports
client: /main: Resolve available ports

Make a request to refresh list of available ports
before instantiating the controller.

It helps in avoiding this visual glitch:
  When application starts and at least one serial
  port is availabe, the template content within
  conditional 'ports.length === 0' is momentarily
  visible.

Transition to other states, so far, is possible
only via /main. No need to add resolution to other
states.

Signed-off-by: Sanjeev Premi <e2c59cdd009c02452534cc3986d2bb876e0e4eac@ymail.com>

spremi/preTTY,spremi/preTTY