Check the target resource more strictly

This patch adds decorators to ensure that the target resource is correct.  For
example, if bucket requests are sent to object resources, swift3 raises
InvalidRequest.

Change-Id: If1467dda1fbd578d3e7694441de18e10f851a808
Merge "Check the target resource more strictly"