Generalized Detection of Animal Behavior Using Accelerometers