Added autoload support
Merge pull request #5 from lox/master

Added composer autoload support
Updated version to 0.1.2.
Update Intercom.php

Add 'unsubscribe' argument to createUser() and updateUser(). This corresponds to the unsubscribed_from_emails argument of the Intercom /users API.
set api and appid private vars to null
Add unsubscribed_from_emails to createUser and updateUser
By default, unit tests use test doubles.
Merge pull request #7 from jpechacek/master

Add unsubscribed_from_emails to createUser and updateUser
Updated app ID and API Key information.
Merge branch 'master' of github.com:nubera-ebusiness/intercom-php
Updated version to 0.1.3.
Add createThread function to create a new message thread associated with a user
merge upstream changes
clean up
Merge pull request #9 from gnudle/master

Add createThread function
Updated version to 0.1.4.
Update copyright information.
createEvent support

Intercom introduced a new function to track Events, see:
http://docs.intercom.io/filtering-users-by-events/Tracking-User-Events-i
n-Intercom. The events API endpoint makes it possible to track events
via the API, see: http://doc.intercom.io/api/#events .

This commit implements the createEvent method to utilize the events API
endpoint in order to track events to Intercom.
Added httpCode to $lastError.
Added httpCode to getLastError() mock.