rewrite to api ver 2

thanks to tadatuta https://github.com/bem/bem-mvc/pull/26#issuecomment-23498030