Get Primefaces version on runtime.

Shallem,

I have attached the pull request
maven pom.xml primefaces version can be updated to 4.0 for this testing. With this pull code will compile and 3.x and 4.x versions.

Thanks,
Uma