Replaced all .html files in the test project with .jsp files so that the
project can be deployed on any application server at any context root
for testing purposes.
Moved code to load application resources as streams out of
CsrfGuardServletContextListener class so that it can be used across the
application.
Added a JUnit test case for loading application resources as streams.
Modified code to use the common code for loading embedded resource file.
Corrected forward and redirect pages.
Reverted changes made earlier for automatically prefixing servlet
context path to URLs because it was leading to inconsistent behaviour.