Fixed an internal error and ensured that similar errors will be caught in tests.
EOL conversion
Added basic Assembly and AppDomain classes (#210)
Added support for custom attributes to assembly
Report an error when a NonScriptable type is used in a cast expression (previously this could give an internal error)