fix domain splitting typo
activity.object.to.address is now the to: address to send to
remove github.js and webrtc.js from this branch and add mailer package
add smtp.js
attempt at setting up a test for the smtp platform
get the test passing
generalizing what was previously the 'smtp' platform to 'email' and including imap/pop/smtp abstraction
minor fixes to platform tests
syntax fix
basic skeleton for email platform
extensive re-vamping of session module, now has hooks in place to load settings from redis store, to allow for platforms running on different servers/sockethub instances. - sessions now return lots of promises (and i'll need to add more soon)
updated facebook and twitter platforms to use the new resp object
Merge branch 'smtp' of git://github.com/michielbdejong/sockethub into michielbdejong-smtp

Conflicts:
	lib/protocols/sockethub/platforms/smtp.js
updated email platform and smtp-implementation to make use of new resp object, and also to clean up a bit of the handling to reflect the planned method of handling credentials via the register command
whitespace
updated listener to expect a promise from platform commands. for sending new updates from the platform, they should use the session.send() function, but to signify a direct response to a verb, they must fulfill a promise. also fixed email tests which now work.
updated listener to expect a promise from platform commands. for sending new updates from the platform, they should use the session.send() function, but to signify a direct response to a verb, they must fulfill a promise. also fixed email tests which now work
updated schema to organize by verb, so 'register' has the credentials bit
updated facebook platform to use promises
updated credential schema for twitter platform, and updated it to use promises