fix ct_run with app.config

#241 
You may want to add a copyright header (with your name) plus editor config. For reference, see inttest/logging/logging_rt.erl.