Refactor treenexus logic into a function
add ./treenexus submodule
[travis] Update submodules
Correct our test and actually return JSON on GET requests like http://localhost:8000/welcome/default/api/study/10.json