enable unit testing of EssentialAction (issue #2011)

An EssentialAction can be tested without a running
FakeApplication.

Check that the EssentialAction use the classloader of
the running application if any.