EntityCaps: Javadoc, whitespaces fixes, small refactoring

Conflicts:
	source/org/jivesoftware/smack/SmackConfiguration.java