Fixed deprecated get_context() calls
Merge pull request #60 from ndunand/master

Fixed deprecated get_context() calls
Replace add_to_log calls with relevant events
Replace userfield queries with get_all_user_name_fields and fix minor warnings
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
Remove user_outline func (default behaviour is fine) and remove view count from user_complete
Update version and README