Default output filename and ResolveAssemblyReference fixups.

This request encompasses two separate changes, but I can't figure out how to create separate requests for them.

The change to TemplateGenerator.cs provides a minimal implementation of the ResolveAssemblyReference method.  This uses the reference paths provided on the command-line to attempt to resolve assembly references if they do not already refer to an absolute path.  If the reference cannot be resolved in this way, it returns the assembly name unchanged.  This causes Mono to search for it as normal, either finding it by some other mechanism (as happens for System.* etc) or reporting an error.

The change to TextTransform.cs removes the requirement for the output file to be named on the command-line.  If the output file is not named, it defaults to the same as the input file.  This is then further modified by a line such as:

    <#@ output extension=".f90" #>

in the template.  This change is to match the behaviour of TextTransform.exe in Visual Studio 2013 on Windows.
Would a narrow test of the ResolveAssemblyReference function be okay, or would you rather see it working while it generates something from a template?  Obviously the second option is rather more involved...