enable unit testing of EssentialAction (issue #2011)

An EssentialAction can be tested without a running
FakeApplication.

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