[imp #37] More consistent high-level design API

Add support for all design document features in the high-level API:
 - show functions
 - list functions
 - update functions
 - url rewriting rules