Fix deprecated function use in index.php.
Merge pull request #28 from timhunt/master

Fix deprecated function use in index.php.
CONTRIB-4655: Add ability to set text width
Increased version number and the version required

The version required was increased because we now use context_*::instance
to retrieve contexts, rather than the deprecated functions get_context_*,
which was introduced in 2.2.
Increased version number and the version required

This was done because the previous commit that removed the
deprecated functions in index.php only works in 2.4 onwards.
Removed unnecessary checks since we increased the version required
Removed unnecessary setting of parameter in course module object

This caused a debugging message to be thrown in 2.6.
Merge remote-tracking branch 'mark/master' into ou

Conflicts:
	lib.php
	view.php