Javascript protections

Putting back javascript type = text and CDATA tags, even though they are not required, since the core uses them, we probably should too.

Also added something discussed in Copenhagen: to prevent the same libraries from being included more than once, we came up with this concept (to be published on the website with the new Extension guidelines):
```
<!-- IF not $INCLUDEDED_COLPICKJS -->
	<!-- INCLUDEJS @phpbb_boardannouncements/colpick.js -->
	<!-- DEFINE $INCLUDEDED_COLPICKJS = true -->
<!-- ENDIF -->
```
The idea is that any extensions that would use the colpick.js should include it in this manner, to prevent multiple inclusions. There is no standardization of this as of yet, considering all the potential thousands of libraries out there, but we will build a list of these as time goes on, on the website. The basic idea would be to use the name of the JS file for the template variable definition, so in this case, `colpick.js` is defined as `$INCLUDEDED_COLPICKJS`.

The theory would apply to other libraries as well, ie: `$INCLUDEDED_HIGHSLIDEJS, $INCLUDEDED_MOTOOLSJS`

This extension gives us a good opportunity to show this method in action.