Fixes #126 - Check type on stripos and correct arg order
Merge pull request #127 from davedevelopment/issue-26

Fixes #126 - Check type on stripos and correct arg order
Merge remote-tracking branch 'upstream/master' into php-parser
Pull class building in to a separate class
Move string manipulation in to config