VS 2012 upgrade changes.

Changes are re-ordering in a few files
Update of auto gen version for designer code
addtion of conditions for VS2010/2012 usage in WebMediaPortal