Update NRefactory reference

Still need to manually set PKG_CONFIG_PATH to /usr/lib/pkgconfig before
the addin will compile itself in MonoDevelop 4.0.  This is necessary in
order to resolve the reference to gtk-sharp 2.12 (vs. 3.0)
Add unit tests and fix corner cases