fix issue #1215 lang collection in metas is missing for controller
add functional tests mojits
add functional tests
minor format updates
add unit tests
update files basing on review feedback
change the way to detect requirement of lang module
Merge remote-tracking branch 'upstream/develop' into lang
using array.indexOf to locate a string
update HISTORY file
add comments and rm redundant code
Merge remote-tracking branch 'upstream/develop' into lang
simplify code
optimize token replacement
Merge pull request #1232 from lzhan/lang

fix issue #1215 lang collection in metas is missing for controller