Added test for issue #326.

See http://code.google.com/p/moq/issues/detail?id=326 for more details.
Added a fix for issue #326.

DynamicProxy cannot replicate
System.Security.Permissions.UIPermissionAttribute, so tell it not to
try.