As states grapple with banning cell phones from the classroom, one company has developed an app that could help students stay off of their devices in class.