chore(twitter): cleans up Twitter API to work with 1.9 session

This updates the session handling to use the new elgg_get_session and set/get/remove rather than the deprecated array access. Also cleans up ElggSession a bit.
Does this really work? I feel like in the past this has lead to the equivalent of `if (false instanceof ElggUser)`