Add option to LocalNode to pass settings in at runtime.
Added check to detect invalid IL code for generics.
Implemented support for calling generic methods over the network.

Previously generic methods couldn't be called over the network as the
type parameters were not passed through at all.