MDL-40426 - Libraries: Deprecate mark_context_dirty() - Update

Fixed up a problem with a funciton in the deprecatelib.php file and
made an alteration to the upgrade.txt file.