Back to methods the functions related to attachments

Signed-off-by: emanuele <emanuele45@gmail.com>
Move the importer to its own file (ImportManager) instead of having it into import.php

Signed-off-by: emanuele <emanuele45@gmail.com>
Split up the importer into an ImportManager and an Importer

Signed-off-by: emanuele <emanuele45@gmail.com>
Rework dependencies

Signed-off-by: emanuele <emanuele45@gmail.com>
If the XML language file is malformatted better stop... I think

Signed-off-by: emanuele <emanuele45@gmail.com>
Some outdated headers (license & C)

Signed-off-by: emanuele <emanuele45@gmail.com>
Some random changes

Signed-off-by: emanuele <emanuele45@gmail.com>
fixes

Signed-off-by: emanuele <emanuele45@gmail.com>
Workarounds

Signed-off-by: emanuele <emanuele45@gmail.com>
Improved SMF 2.0 attachments importing to ElkArte 1.0

Signed-off-by: emanuele <emanuele45@gmail.com>
Added namespace

Signed-off-by: emanuele <emanuele45@gmail.com>
Little change to Cookie->extend

Signed-off-by: emanuele <emanuele45@gmail.com>
Of course the autoloader is not in the OI namespace... well...no, it's not

Signed-off-by: emanuele <emanuele45@gmail.com>
Added a testing test with phpunit

Signed-off-by: emanuele <emanuele45@gmail.com>