Fixes port status hanging to build status

ML2 plugin changes the port status to "build" when get_device_details
is called. For this reason, the port status must be updated once the
port details are processed.

Fixes bug: #1224991

Change-Id: I2c0321073cc07e1764fedbfbecbc844557ac6bc9
(cherry picked from commit 01194b356e39e3b0affca67015efb7634bf28697)
Merge "Fixes port status hanging to build status" into milestone-proposed