Check port 8080 for availability before running instance of monasca api.

Change-Id: I0d2b7da4ec6f7fa5ed9b24adacd13ac63eb309cc