Improved SMF2 importer, now imports post attachments

As hinted at in https://meta.discourse.org/t/importer-for-simple-machines-2-forums/17656, the importer can now import attachments from SMF2 and optionally supports inline attachment tags provided by the like-named SMF2 mod.