Remove from/import and update to PHP5.4

Test suite is ok. Asking verdict of test suite of @shouze and @stephpy :-).