Updated dependencies in POM to support latest version of PrimeFaces.
Aligned menu code with new API.