Feature/docs

Updates in BEMHTML reference:

 * some rephrasings for clarity
 * minor markup fixes 
 * added example: template conditional on parent block
 * added TeX sources of diagrams