Can sharks be kept at bay without harm? A scientist is testing an electromagnetic barrier off Cape Cod to find out.