[ 1884764 ] JUnit fails with enumerated type open
When attempting to retrieve the main class name, enums were previously
not considered. Now the function works for classes, interfaces, and enums.
Added unit tests for the method, which had not previously existed at all.
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocumentTest.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java