infostream rest function + test for it
Merge branch 'master' of github.com:n9clip/web7.0