Factory UI: Added core_factory and set_context functions for various make_entity functions
Location UI: Added auto_complete_search function to location module
test_location UI: Updated as per comments and added 2 remove entity test cases for test_location module