Drastically performance increase of isAllowed-method

Dr. Sql has reduced complexity of isAllowed-method from 4+2n (with n
inherited roles_names) to 1 (ONE!) database query.
Should work on all nearly SQL-99 databases.
This is MySQL specific statement, it will not work with PostgreSQL for example