Re-enable getwork protocol

Re-enable using getwork protocol for solo mining using the -getwork
command line parameter.
Add missing source files to the Visual Studio 2012 project file.