Add Javadoc, and fix some checkstyle warnings
SimpleClassLogFormat and SimpleLogFormat classes should use the standard exceptionToString() function. (Refactoring)
Dont use magic number 302, its HTTP_MOVED_TEMPORARILY
Add javadoc and fix some checkstyle warnings