Git commits in Moodle 2.1.2 by sam marshall

commit 37f5c9230242fce9a45ace0fcb29052c7e211cb2
Author: sam marshall <s.marshall@open.ac.uk>
Date:   Tue, 09 Aug 2011 19:45:58 +0800
Tag:    v2.1.2

MDL-28643 Fix debugging message when deleting activity with grade completion

commit e1bb4741f1bb62078808ec2f8b1a11159b0c8d2a
Author: sam marshall <s.marshall@open.ac.uk>
Date:   Wed, 03 Aug 2011 18:20:21 +0800
Tag:    v2.1.2

MDL-27491 Add 'complete on view' support to wiki, survey