Merge pull request #4 from modxcms/develop

Update
Don`t owerwrite $_SESSION['itemname'] if plugin/snippet in DB
Fix bug when delete plugin
Correct sort in logging.static.php
Merge pull request #195 from Segr/develop

Bug fix