MDL-35373 mod_assign Add functionality to enforce onlinetext word limit

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>