remove addslashes: see http://docs.moodle.org/dev/DB_layer_2.0_migration...

..._docs

Looks like addslashes in the 2.* series is redundant. For me, without my fix, the quickset block adds slashes to apostrophes in course titles every time I make a change.