[minor] [fix] allow roles
[permission model] Redesign

Conflicts:

	patches/patch_list.py
[permissions] Added Test Cases
[cleanup] [minor] added webnotes.model.delete_doc (module)
[cleanup] [minor] default+cache related
[minor] move warehouse user to restrictions
[minor] user properties and leave application
[minor] patches for restriction