maint: Rename examples folder to programs folder. Add glogal AM flags
in Makefile.am.
maint: Apply google C++ code style[1].
[1] google-styleguide.googlecode.com/svn/trunk/cppguide.html