Removed dependency on Apache Commons Lang, removed static methods for
creating self transitions and created self transition classes.