added dbGetChildren
minor fixes
Merge branch 'master' of https://github.com/johanneshilden/rest-stuff