MDL-18633 User profile: add last ip field to user view
MDL-18633 using moodle_url() and html_writer to create links