bem-tools: Support `require`  in BEMJSON and BEMHTML

// cc @veged