fix beamer template

See http://code.google.com/p/ctex-kit/issues/detail?id=92
add theorem environment
fix filter for beamer
fix bug in filter.hs when no name and id in theorem environment
add desc for environment
update latex/beamer template
update Filter.hs
update template
update make.sh to profile based