Fixes Issue #317: Check output with Entity Translation enabled.

Maybe just a new property in `\RestfulBase` that is (optionally) initialized in the constructor. If no value is passed to the constructor, then use `global $language`.

This can be a good follow up.