Merge pull request #365 from mono-soc-2013/MateY-IndentEngine

TestComplexIfElseElsePlacement.
Implement support for Script.InsertAfter() to work after ParameterDeclarations
add support for using InsertAfter() on the left parenthesis of a methoddeclaration
fix unintended whitespace changes
Merge pull request #366 from ljmeijer/script-insertafter-improvements

Script insertafter improvements
Fixed bug in CreateEnumValue/improved type guessing.
Suppress OptionalParameterHierarchyMismatchIssue in explicit interface implementations.
Remove the upcast in InheritanceHelper.GetBaseMembers()
Merge NRefactory changes from the SharpDevelop repository.

Includes Siegfried's work on the output visitor (ITokenWriter) and some minor bugfixes.
Add back CSharpOutputVisitor.ConvertString().
Fixed bug in format method recognition.
Fixed bug in ConvertToStaticTypeIssue
Fixed potential null reference exception in the c# parser.
Fixed some issues in redundant unsafe context issue
Added test for the parser null ref exception.
Fixed bug in SegmentTrackingTokenWriter.
Improved lambda parameter recognition.
Fixed a wrapping bug.
Fixed formatting bug.
Fixed formatting bug.