Git commits in Moodle 3.0.4 by James

commit 03b4d4fc20e867270b95897d667e67b24c7f019f
Author: James <james_baster@shelter.org.uk>
Date:   Tue, 08 Mar 2016 19:47:58 +0800
Tag:    v3.0.4

MDL-53383 navigation: Do not require $type in remove()