Implement new ddoc annotation 'inherit'
fix doc unittest + stray parenthesis bug