Doxygen comments, source code formatting.

And one bugfix. :)
Fixed displaying incorrect expiration dates in the debugging output.

Added doxygen comments.
Formatted most of the source code files.
Added smack 4.0.5 jars to the classpath.
Added a .gitignore file.
Updated .gitignore