Closed #5: added the license
Added support of plugin events priorities