Now detects e107 v1.x and v2.x
Merge pull request #303 from CaMer0n/master

Fix for e107 v2.x