Updated to PrimeFaces 4.0 version.
Refactored common code into a new module 'common'.