Matlab unit tests cleanup (rebased onto develop)



This is the same as gh-543 but rebased onto develop.

----

- Create abstract superclass for cleaning Java class path before performing unit tests
- Remove calls to bfGetReader() in TestBfGetPlane