inList function to test membership

I've written this function several times for specific types, especially for checking if a record exists in a list of records. Since Elm doesn't have an Eq class, I think it would be nice to have a simple test for membership in a list.