made sure the $AppUI object is used properly, not as a global;
corrected the mock methods to return the expected values, only affects testing
removed the link_owner check because the preStore hook always makes sure it's set
removed the file_parent check because the preStore hook always makes sure it's set
removed the deprecated contact_order_by field
correcting a test;
fixing the messed up variable reference
removed the project_short_name check as the preStore hook makes sure it's always set