Rename ALLOC_MM_TEST into ALLOC_TEST

All macros to test for memory errors
are renamed from XXX_MM_TEST into XXX_TEST.

Also functions setfreeerr_testmm and
setresizeerr_testmm are removed from testmm_t.

The test macros replace them.
Upgrade project to new codelite version
Add new error code EINVARIANT