Mybb import

I have struggled with the mybb import script. There were some problems with broken post ids because of a previous import from phpbb. This pull request fixes them. I have attached more details in the commit messages.
This sounds like something that should be a command line argument rather than commented out.