Fix category deletion

* fixes #294
Merge pull request #295 from borisovg/master

Fix category deletion
add Simple Chinese translation
Merge pull request #297 from horx/master

Add Simple Chinese translation
a better fix
enable sub menus #291
added missing translations #299
rename config files for upgrades and removed migration
run migrations before running queries
Fixed duplicated image file extension on upload. Issue #311
Fixed duplicated image file extension on upload. Issue #311
Check that offset is greater than 0 when running posts loop. Fixes issue #316
Fixed search result being dropped from session causing search pagination not to work
Further bugfixing for issue #319
More fixes to #319
Email comment error repair
Fixes Issue #322
Merge pull request #325 from molovo/molovo322

Fixes Issue #322
Merge pull request #324 from andre2/patch-2

Email comment error repair
Removed changes wrongly committed with issue #316