Modifies _clean_empties function to take forbidden traits into account
in addition to required traits.
Added unit test test_resources_from_request_spec_flavor_forbidden_trait
to test that a single forbidden trait doesn't get lost in the
resources_from_request_spec function.
Also updated the functional test
test_flavor_forbidden_traits_based_scheduling to do the right thing.
Change-Id: I491b10c9c202baae4a37034848147f910a50eebf
Closes-Bug: #1821824
(cherry picked from commit c088856c8c)