Source code for the question at https://stackoverflow.com/questions/24096237/embedded-tomcat-doesnt-execute-jsf-pages