Fix rest of compute objects usage

Change the rest of compute to use objects.<Object> vs
objects.<module>.<Object>.

Partial-Blueprint: object-subclassing

Change-Id: I1a33733144ca3ffe7b9d7c32f0113f1aa1f664cc
Fix rest of API objects usage

Change the rest of API to use objects.<Object> vs
objects.<module>.<Object>.

Partial-Blueprint: object-subclassing

Change-Id: I04db37c21547184f5aeb970e69547d6210be0c3e
Sync oslo lockutils to nova

The commit to be merged:

5c11c4d0 Don't import fcntl on Windows
de4adbc4 pep8: fixed multiple violations
9e88af17 fixed typos found by RETF rules

Related-bug: #1335897

Change-Id: Iec4cbb5fa7265b181a851f6ebfac9cd7c5685ed7
Merge "Fix rest of compute objects usage"
Merge "Fix rest of API objects usage"
Merge "Sync oslo lockutils to nova"
Fixes internal server error for add/remove tenant flavor access request

Fixes the internal server error (500) response when an add or remove tenant access
to a flavor is made without specifying the tenant. Note that only the V2 API code
change is required because the V3 API version is protected by the input validation.

Change-Id: I7c126920016c7004fa55efb89747e97838d62f4e
Closes-Bug: 1253014
Merge "Fixes internal server error for add/remove tenant flavor access request"