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.
MDL-40428 Libraries: Deprecated delete_context