Removes unused code from TER extension

* CLI scripts
* ezcomponents library (only used in one CLI script)
* tests (based on PHP 5.4 they aren't working any more)
2 jobs for remove-unused-ter-code in 1 minute and 13 seconds (queued for 2 seconds)