Author: David Mudrak
MDL-31832 CLI upgrade checks if the upgrade is actually needed
Conflicts:
admin/cli/upgrade.php
http://git.moodle.org/gw?p=moodle.git;a=commit;h=01af07849ea6f2001fe7090cf4428db9db5f15b8
http://github.com/moodle/moodle/commit/01af07849ea6f2001fe7090cf4428db9db5f15b8
+ 2.1 en [cliupgradenoneed,core_admin]