Seven men have been remanded in custody after being charged with the attempted murder of a senior Northern Ireland detective.