Changes to use customised YUI Gallery

Customised version of the YUI Gallery code. Works in IE7 and supports
image scaling to browser resolution.

Conflicts:
	assets/skins/sam/gallery-lightbox-skin.css
Latest netspotau gallery plus own YUI Gallery

Merged own custom YUI Gallery with latest netspotau moodle lightbox
gallery.  Now honours resize selection from settings.

Conflicts:
	backup/moodle2/backup_lightboxgallery_stepslib.php
	db/upgrade.php
	gallery-lightbox-min.js
	imageadd.php
	imageclass.php
	index.php
	lib.php
	search.php
	version.php
	view.php
Update YUI JS to use node, not node-deprecated and fix show() behaviour
Migrate search to use YUI instead of old js version