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