Trainer.runTraining() and tests

- Fixed training integration test file loading and training index.js test file loading
- Made runNetwork accept empty training data without error
- Renamed return test->testing to be more consistent across interfaces