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
using array.indexOf to locate a string
update HISTORY file
add comments and rm redundant code
simplify code
optimize token replacement
modify tests to solve the header letter case difference between browsers
format change
add delay

Conflicts:
	tests/func/examples/developerguide/test_06_testing.js
change log level
move more logging to debug level
fix issue #1251 easy way to get contextualized models
rename variable and change back the name used for model registration
add functional test mojit