minor optimization
remove ERB from most DocBook templates; add some missing DocBook tests