Adding gitignore file
Implementation of the Authentication and Roster

Initial work on the authentication and roster.
Adding lib to the project and changing the class path
Implementation of basic presence
Implemeting message

Bidirectional messaging is now supported, also some control messages are exchanged.
Merge branch 'master' of https://code.ua.pt/git/mpim

Conflicts:
	src/org/ara/xmpp/MpimParseInput.java

Presence is now merged.
The libs are now with the project source
Some bug fixes and new implementation

Bugs fixed:
	* like when a client disconnects the the server doesn't crash.
	* Concurrent modification of selector.
	* MPIMCore thread was removed, it now takes control over the main thread

New Classes were added to better support stanzas:
	* A generic Stanza class for handling all stanzas
	* 2 Message Stanza classes for chat messages and one for message control
	* Some error conditions were added to the authentication "module"
Adds a cleaner way to authenticate new connections.

	* Adds a new Entity class for handling user information
	* Cleans the authentication class and adds some error cases
	* Adds a new connection state.
Fixes bug with the roster

        * Finally the bug that could not connect to a account is now fixed, there's a problem with some special characters in the nick. The bug is still open, the workaround is that we use the email.
        * Fixes an error in the Authentication module, when the client doesn't give us the username or the password or the resource we now send the correct error.
        * MessageBuilder now uses the Stanza class to build the roste, although the old function is still there but depretaced. It also adds a new attribute to the roster, the ver attribute. This attribute is useful since the client can update the roster based on the value of this attribute.
	* Inicial work adding the IQStanza and the ErrorIQStanza, although the work is not completed.
	* Some bug fixes in the Stanza class, like changing the visibility of one of the methods and also fixing some conditions.
Adds a new Presence Stanza Class and fixes some issues

	* The connection now ends successfully, although the Channel Socket is still registered in the selector.
	* Adds a new Stanza for handling the presence.
	* Adds a XMPPConnection class for handling various xmpp stuff like sending a stanza and closing successfully a session
	* bluildContactPresence has been superseeded by bluildContactPresenceStanza and this one handles the presence with the PresenceStanza Class
Fixes services discovery bug

	* Adds a error message when it receives a service discovery message
A bunch of fixes
	* Entity Class adds a method to return the domain
Allows changing the nick through iq stanza

	* Adds support for changing the name through the IQ stanza
	* Enables the name of the roster, even though the name doesn't contain the < > ' " caracters could still be a problem for stanzas
Added a way to handle the disco items
Fixes some MSN Messenger issues

	* Fixes a connection problem with the JML library, now it forces the use of the MSNV12 protocol version
	* The Server now knows how to handle html characters like < > ' & and the like
Fixes the problem when a client closes the socket

This commit finally handles a broken pipe correctly.
Reimplements MpimParseInput mode of operation

Reimplements the MpimPaseInput mode of operation, although there's still the problem with the parsing it's a more organized way to parse the xml of the xmpp protocol
Merge branch 'master' of https://code.ua.pt/git/mpim

Conflicts:
	src/org/ara/xmpp/MpimParseInput.java
Adds encoded html to the display name

Adds a html encoded display name in the roster instead of sending e-mail
Adds missing characters to encodedHTML method

this commit adds the ' character to the encondeHTML method.