Add plugininfo class for M2.7 compatibility and bump requires version