Add tests to validate REST path to action mapping.

The Routes mapping performs some brittle regexp manipulation
to build the parameter mapping on the path, so its nice to validate
that it is doing what is expected.

Supports bug #1131759

Change-Id: I251178c2bd9cb03fcedc2da7ea31378b62ae309f
Merge "Add tests to validate REST path to action mapping."