fixes broke specs and adds a few new ones.
Throw errors the right way (fix for 1.9)

The problem is that Net::IMAP::NoResponseError doesn't accept a string
but a response object. It then takes the message from this response
object.
Another problem (unrelated to 1.8/1.9) is that raising a different error
throws away information (message and backtrace). The error could be many
things (Too many connections, incorrect token, ...) so this hides a lot
of useful information.

The approach taken here is not tested on ruby 1.8.x and may not work
there.
Added a method to get the thread id

Using the IMAP extensions you can get the thread id of a message.
With this attribute you can easily merge messages while you are fetching them.

see more info about this extension here: https://developers.google.com/google-apps/gmail/imap_extensions#access_to_the_gmail_thread_id_x-gm-thrid
Fix imap extensions in ruby 1.9.3

These constants are defined in Net::IMAP::ResponseParser and
if you don't put the full path to them here it won't work
on ruby 1.9.3
Merge remote-tracking branch 'origin/patch-1'
Optimize message class

With this change only one request to gmail is needed so the data
can be obtained really fast.
work around for difference in ruby 1.8/1.9 exceptions -

I'm not sure if this is the best way to handle this since we want Ruby 1.9 to throw a more specific exception (e.g. Gmail::Client::AuthorizationError)
Merge branch 'raise_right_errors' of https://github.com/xaop/gmail
Merge branch 'master' of https://github.com/dcu/gmail
Add support for Travis. Includes a test Gmail account with obfuscated credentials.
Merge remote-tracking branch 'remotes/origin/travis-support'
Merge remote-tracking branch 'remotes/nu7hatch/fix_specs'
- Remove MIME gem dependency. Seems like this is an unused relic of the past
- Add some initial specs for Gmail::Message class using mocks
- Rename spec helper "mock_mailbox" to "live_mailbox", since it connects to the actual Gmail service. A "mock" in the traditional sense is an object with stubbed methods.
Merge branch 'kill-the-mime' of https://github.com/johnnyshields/gmail
Merge branch 'master' of https://github.com/johnnyshields/gmail

Conflicts:
	lib/gmail/client.rb
	lib/gmail/client/base.rb
	lib/gmail/client/imap_extensions.rb
	lib/gmail/client/plain.rb
	lib/gmail/client/xoauth.rb
	lib/gmail/message.rb