fix findById crash
Merge pull request #2 from sipin/feature/fix_findByID_crash_invalid_id

fix findById crash
move widget to map
add suppport for thrift const, typedef
fix getWidget bug
fix specify type_translate str
add enum