MYFACES-3659 Conditional include of scripts and stylesheets (add junit test thanks to dennis hoersch for provide this patch)