sync with svn

- change default backend registration order
- mangle resume argument as BPRESUME
- code clean-up (avoid warning about ref. class assignment to local variable)
- version and NEWS bump