fix(twitter): fixes Twitter API to work with 1.9 session

This updates the session handling to use the new elgg_get_session, uses set/get/remove rather than the deprecated array access, and cleans up ElggSession a bit.

Fixes #6917