Remove const keyword from functions returning bool values, convert tabs to spaces in item files