Return 404 instead of 501 for unsupported actions

Change unsupported actions return code to 404 from 501 to ensure
consistency with other unsupported actions in the REST API.

Change-Id: Ibf40ef9108f209b70ffbab6e2387d2d469f7373e
Merge "Return 404 instead of 501 for unsupported actions"