[ci skip]
(1) fixed some naming inconsistencies; (2) hidden some methods to the cache table, so that they don't lie around unused in the ai table
(1) First draft of the caching system for LuaAI. (2) Added validation variables and setters/getters in the ai contexts, to allow LuaAI cache check the movemaps for validity