baremetal: Make api validate mac address

Check if the address in the form of xx:xx:xx:xx:xx:xx.

Closes-Bug: 1238595
Change-Id: Idcba745a011604d7664b62d88f1dede88d10443d
Remove duplicate FlavorNotFound exception handling in server create API

The v2 and v3 openstack server create APIs have duplicate handling for
the FlavorNotFound exception. This patch removes the duplicate handling
which is found in a generic catch-all block for each API.

Closes-Bug: #1256427

Change-Id: I78344cd588178c501398147f3afcd418e0744b0d
Catch InstanceIsLocked exception on server actions

In v3, if the server is locked, a 409 error is raised, and the error msg
is like "the server is locked". In v2 now, the 409 error is raised too. But the
error msg is like "Instance is in an invalid state for \'pause(action name)\'".
The error msg is inappropriate, two points:
1. the state is valid for pause
2. the message doesn't tell that the instance is locked

The patch fixes the ploblem, and will do as v3. See the v3 commit:
2c9fca6a3c916f3f594ddbb1a8ee8946b8ea3ac7

Change-Id: I76572e37af686a4af35c31a3ea27f7070894b88a
Closes-Bug: #1255386
Ensure proper notifications are sent when build finishes

An error condition was missing a notification, and one of the
notifications was incorrect.  Now all build failures will send a
notification and will send the correct notification based on what
occurred.

bp remove-cast-to-schedule-run-instance

Change-Id: Ibffe35da221730283b8ad3016a25dd42b5526f37
Fix trivial typo 'descirption'

Change-Id: I9c5238d289a89d87398d500d6c8aeb238a6dc1d5
Merge "baremetal: Make api validate mac address"
Merge "Catch InstanceIsLocked exception on server actions"
Merge "Ensure proper notifications are sent when build finishes"
Merge "Remove duplicate FlavorNotFound exception handling in server create API"
Merge "Fix trivial typo 'descirption'"