Extract common functionality to xblock-utils

Nosetests search for files named `test_*` by default. By changing the name, it's obvious that this class is only utility.