Added views cpu_grid_ids and cpu_local_ids containing the id of the records for local and grid jobs in batch_execute_records and blah_records tables
Refactoring grid cpu records
grid id view