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.