Split EC2 ID validator to validator per resource type.

Now there is only one method to validate EC2 id: validate_ec2_id().
It's used to validate both the Instance ID as well as Volume ID for
valid EC2 ID format. However exception class raised in both cases
is "InvalidInstanceIDMalformed" and EC2 error code is
InvalidInstanceID.Malformed.

This patch addresses this problem by adding two new methods:
* validate_instance_id()
* validate_volume_id()
These methods use validate_ec2_id() and raise appropriate
exception as well as appropriate EC2 error code based on
AWS EC2 Error Code documentation:
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/api-error-codes.html

Change-Id: I55591b8b643bb316e5001e645d71c13094106e96
Closes-Bug: #1199308
Adds Hyper-V Compute Driver soft reboot implementation

Adds a soft reboot implementation for feature parity with other
Nova drivers as specified in the base virt driver's interface.

Co-Authored-By: Simona Iuliana Toader <itoader@cloudbasesolutions.com>

Change-Id: I963cbdacdfefca47d6e45fa0aafac188963bcaed
Implements: blueprint hyper-v-soft-reboot
Merge "Adds Hyper-V Compute Driver soft reboot implementation"
Merge "Split EC2 ID validator to validator per resource type."