Only display editnotice if $wgAllowUserJs/Css are true

Change-Id: Ie39d9816f17f4305a687dae8d1669a21742152c7
Merge "Only display editnotice if $wgAllowUserJs/Css are true"