PortForwardManager tests and fixes:

- Add tests for PortForwardManager
- Deprecate isClient()
- AcquirePort uses the first port in range as well (i.e. use
  `getAndIncrement()` rather than `incrementAndGet()`)
- Fix forgetPortMappings(Location)