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.
I concede parens would improve readability. Code isn't the place for teachable moments about op precedence :)