Implemented expand_by_class. Closes #362.

 Optional argument separators requires changes Classify and FindByClass (not currently implemented for find_by_class either), will be implemented later. Will require implementing Py_find_by_class manually.