pkgresources: advanced entry points

* Adds new options for `EntryPointRegistry`.
* Adds dependency checking based on indico/flask-pluginengine@ca9bb9067a66f4540389ca5759653711b6bc2997

--
cc @ThiefMaster @pferreir
@ThiefMaster fixed