Possibility to extend BEMTREE

For #602, as discussed. Just like in BEMHTML.