Added functionality to ignore obj_type case when getting a permission handling function in has_perm
Added permissions checking for ui buttons in core views