[WIP] Support for RDoc 4+

This pull request is work in progress, feel free to send patches to: https://github.com/zzak/sdoc/tree/rdoc-4