Move HieroTokenizer to a separate file

Change-Id: I3b9dcb6e678dde57112c85557636d610a5c9d6b4