Further performance optimization and clean-up.

1. Suggested by SlashDevin.
Add IOStream end-of-line string access member function.

1. Update String class example sketch.
Fixed lock/unlock documentation.
Fixed documentation of TWI clock.
Adding function and line information to TRACE() line.
Cleanup; use some C++11 tricks.
New benchmark run after updates.