MDL-47594 core_accesslib: removed three useless lines of code
MDL-47667 profile unit tests: don't assume none by default.

E.g. if an add-on creates a user profile field on install, the test was
failing.
Merge branch 'MDL-47594_M27' of git://github.com/kordan/moodle into MOODLE_27_STABLE
Merge branch 'MDL-47667_27' of git://github.com/timhunt/moodle into MOODLE_27_STABLE