Code Review: Partial1

tfpt review “/shelveset:Partial1;REDMOND\tomat”

Adds /partial mode to IronRuby unit tests. If specified, the harness
will run tests in an app-domain that has restricted permissions.

Simple DLR changes:

Snippet assembly needs to be marked by SecurityTransparent attribute
in order to work in partial trust.

Fixed TestAst - a handful of types were declared private yet
referenced from generated code.

Ruby changes:

IronRuby assemblies were missing SecurityTransparent and
AllowPartiallyTrustedCallers attributes.

Few tests access files, so they need to be excluded in partial trust.

Methods invoked via reflection need to be public.

Tomas