Git commits in Moodle 3.1.3 by Tim Lock

commit fedb3cf539ac4cf0962e189646370dd39cfaafbe
Author: Tim Lock <tim@netspot.com.au>
Date:   Wed, 19 Oct 2016 09:41:14 +0800
Tag:    v3.1.3

MDL-56481 tool_lpmigrate: Fix notice when cancelling framework migration

commit 5e80e0bce91dfa1ec1d927f24971ab6bc593355a
Author: Tim Lock <tim@netspot.com.au>
Date:   Tue, 18 Oct 2016 10:19:47 +0800
Tag:    v3.1.3

MDL-55456 course: set context for category ajax requests

commit fe9831dd7d0c56b2ff931787cd47952985c53bf1
Author: Tim Lock <tim@netspot.com.au>
Date:   Tue, 18 Oct 2016 09:39:05 +0800
Tag:    v3.1.3

MDL-56466 assign: fix database error with team submissions