Merge pull request #45 from bem/issue-35

Added `typeOf` method