MYFACES-3659 Conditional include of scripts and stylesheets (Thanks to Dennis Hoersch for provide this patch)