- refactoring in to a class

Moved the body_class function in to a PHP class.
- moved the trim excerpt function

Getting classy with the trim excerpt function, because I'm a bit of a
bum and need some class in my life.