Adding getPendingReason RPC to expose scheduling vetos in the UI/client.

Bugs closed: AURORA-377

Reviewed at https://reviews.apache.org/r/23188/