Upgrade to VS2013

(don't worry, everything still works just fine in VS2010 and VS2012)
Fix bug with maintaining number of active clients
Add button change primitive in SharpDX demo