No longer any need to pass admin context to aggregate DB API methods

No longer need to pass an elevated context because the check of
admin has been removed in following patch:
https://review.openstack.org/67026

This patch removes the admin context elevated
method in nova/scheduler sub-folder since it's not required any more.

Change-Id: Ib768c97c9e84a9db44d866fa5fbfc4665ad7c73e
Partial-Bug: #1279216
Nova utils: add in missing translation

The method validating the hypervisor version would throw
an exception that did not have a translation.

Change-Id: I6284d313a553757b90bd6b2c4946c6aa84ea17cd
Rename quota_injected_file_path_bytes

Rename quota_injected_file_path_bytes to
quota_injected_file_path_length, and change help message to
'Length of injected file path'.

DocImpact

Change-Id: Id6b9c03b37664601937e4bc9d4a8d8026c4d3b63
Closes-bug: 1258175
Call _validate_instance_group_policy in _build_and_run_instance

The _validate_instance_group_policy check was added to the boot process
in run_instance but was not added to build_and_run_instance which will
be replacing run_instance.  This ports it over to retain parity between
the two code paths.

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

Change-Id: I197794ffe04d7460cf67216b9ae67ed7c5f790d9
Fix tests/compute direct use of instance module objects

This switches the nova/tests/compute code to use nova.objects.Instance* vs
nova.objects.instance.Instance* to match the nova/compute changes in
the previous patch.

Partial-Blueprint: object-subclassing

Change-Id: I71f8705a22cbcb4ec171d80c1199bf28ccef3796
Remove two unused db.api methods

Remove two methods from the db API that are no longer used.  These
methods were deprecated when the VolumeMapping object was created,
which doesn't use them.  The relevant code has been converted to use
the VolumeMapping object, so these can now be removed.

Change-Id: I8c230d994a108c9f4c1ee7e112178b852520cb3e
Add new ec2 instance db API calls

The existing API calls for the EC2 instance ID mappings only returned
the EC2 ID or the UUID, not the full mapping.  We really want APIs
that return the whole mapping for use with a nova object.  This patch
adds those APIs which will be used by the InstanceMapping nova object.

Change-Id: Ie1e5aa1c80c92cc65c6a1e062922f0375b742ea6
Merge "Remove two unused db.api methods"
Merge "Add new ec2 instance db API calls"
Merge "Rename quota_injected_file_path_bytes"
Merge "No longer any need to pass admin context to aggregate DB API methods"
Merge "Nova utils: add in missing translation"
Merge "Call _validate_instance_group_policy in _build_and_run_instance"
Merge "Fix tests/compute direct use of instance module objects"