Update NLog to 3.1.0 and resolve "obsolete" warnings

Please merge these changes to make Topshelf work with the current version of NLog.