Add mbstring detection

@pierrejoye as I said, you need to build the phar after installing composer with the ``--no-dev`` option. Otherwise the hoa functions are still registered when registering the composer autoloader (it cannot be done lazily as PHP does not support autoloading functions)