Fix broken unit tests for WebApplication resource.

The appfabric powershell modules are only present when appfabric has been
installed. The unit tests now stub out these methods so that the tests can be
run even when appfabric is not installed.