Added ExpressionEngine version detection, code cleanup
Merge pull request #2 from ahawthorne/feature/expressionengine

Added ExpressionEngine version detection, code cleanup