Adding new extensions for configuring API controllers for unit testing

These extension methods make it easy to configure an ApiController so that you can unit test code that uses Uri helpers or formatters.