A few small code tweaks and fixes.

Fixes an issues where double clicking the local packages datatable
without selected a package would cause a crash.
Initialize log service.
(#157) First pass at correcting StyleCop Errors

- StyleCop FTW!!
(#157) Second pass at StyleCop

- 688 to go...
(#157) No more StyleCop Errors :-)

- Done and done
(#157) Corrected error with compilation flag

- Due to some code only compiling when not on Debug mode, missed some necessary changes
- Updated build scripts to force the compilation of Release mode
- Left the option to pick what is requred when running build.bat locally
(#157) Publish StyleCop Report to AppVeyor
(#157) Try publishing report as artifact

- For some reason, the push of the report doesn't seem to work
- Let's see if it can be found as a artifact
(#157) Removing build cache

- In order to rule out an issue which is raised here:
http://help.appveyor.com/discussions/questions/526-support-for-stylecop-report
- Removin the caching of packages folder
(#157) Output Version number and remove push of report

- Based on this conversation:
https://twitter.com/appveyor/status/514096561794867200
- It is clear that pushing XML report isn't going to work just now
- Let's just try to get artifact working
- Added step to call NuGet.exe by itself to output version number
Rebasing on develop
(#157) Removing LogService Initialization

- For some reason, this is causing an exception when loading.
- Need to talk to @RichiCoder1 about it
(#157) Missed change in merge

- When rebasing on new develop branch changes, missed one other .ConfigureAwait(false);
- Put back in the code to initialize ILogService, and commented it out, ready for re-including
Merge pull request #164 from gep13/feature/Issue-157

Add StyleCop
(#159 #160) Initial Pass at running inspection tools

- Updated appveyor to include new artifacts
- Added config files for dupfinder and inspectcode to BuildScripts folder
- Added Tasks for:
  - Installing Chocolatey if required
  - Installing resharper clt if required
  - Running dupfinder, using config file
  - Running inspectcode, using config file