support extension changes
Merge pull request #247 from joni2back/master

Supporting extension changes
security checks on extensions renaming - fixing #249 (PHP conn.)
removing regex modifiers to make it java compatible