Twitter: Better element checking.

It checks if api_result exists before accessing an array element.
Typo in Twitter and Translate plugins.
Translate/Detect.pm does not need to return the language.

There's no need to return the kind of language because Detect Language API does the detection for you.