Build EmulationStation with CMake and g++-4.7

Use the new EmulationStation build system.  After this is accepted, I'll merge the unstable branch and the old hand-written Makefile will be gone completely.