Features/cmake

i modify cmakelists.txt for
- compiler c++11 support check
- make sources list using AUX_SOURCE_DIRECTORY
- add library 'allegro_main' because cannot find '_al_mangled_main' on mac, clang++ without the library

i tested mac os x 10.9.4 and ubuntu 12.04.