The final version of atomic support for RTEMS during the period of GSOC2012

The final version of atomic support for RTEMS during the period of GSOC2012. This version includes:
1. atomic API design.
2. atomic implementations for i386 and PowerPC architecture.
3. seven test cases for SMP mode.
4. seven test cases for UP mode.