Update vs2010 files

Change List:
1. update vs2010 project files;
2. merge decoder & encoder's macros.h to common