Fix a bug in findAvailablePort

Change-Id: Ic19cd544a452d153b05ccfaec8ccc0f8ade1dd8f
Reviewed-on: http://gerrit.aldebaran.lan/46059
Tested-by: gerrit
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Reviewed-on: http://gerrit.aldebaran.lan/46484
Reviewed-by: vpaleologue <vpaleologue@aldebaran-robotics.com>
Reviewed-by: tfontenay <tfontenay@aldebaran-robotics.com>
Tested-by: vpaleologue <vpaleologue@aldebaran-robotics.com>
Reviewed-on: http://gerrit.aldebaran.lan/46821
Application: add verbose logs on signal caught

When you're developing an application with hooks on signals, it's
convenient to know when signals are caught.

Change-Id: I290f4fdf21036de480d24970b6668ef0dcb0ee82
Reviewed-on: http://gerrit.aldebaran.lan/47699
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Tested-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Merge commit 'refs/integration/team/desktop/dev-74'