Black hole mass and binary model for BL Lac object OJ 287