Revert "Obtain classloader from the module loader of modeshape if running in EAP/AS."

This reverts commit 8b0c115c86f67205db56a4fdda59158cfd52b9a5.
Simplify obtaining the classloader for deserialization.