fixed mysql database dump - don't check foreign keyconstraints during database recover
make foreign keys deferred before table contents clean up
Merge branch 'master' of https://github.com/lmsgit/lms