Now uses the MoodleWidget php class rather than the json version of
gridsters widget object.