Implemented ifactions

Implemented ifactions, an interface to Factions in an attempt to provide
compatibility with all version of Factions: 2, 1.6, 1.8