Move to PHP5.4 and remove from/import.
Wrong append and prepend algorithm.

Internally, the direction does not matter. It does not require to
consider the direction to append or prepend.
Fix `compare` if `Collator` is not present.
Fix flags between global and local in `match`.
Add tests.
New `toCode` method, without UCS-2.

UCS does not support characters above U+FFFF so we use a custom `toCode`
method.
Tests are green now.
Use hexadecimal everywhere.
`toBinaryCode` has a better semantics.
Add tests for Hoa\String\Search.
Review.

Thanks @jubianchi!
[auto] Merge from String

    • #3caf52e — Move to PHP5.4 and remove from/import. (Ivan Enderlin, 2014-12-22)
    • #476e3b4 — Wrong append and prepend algorithm. (Ivan Enderlin, 2014-12-23)
    • #cbf16f9 — Fix `compare` if `Collator` is not present. (Ivan Enderlin, 2014-12-23)
    • #a8d0887 — Fix flags between global and local in `match`. (Ivan Enderlin, 2014-12-23)
    • #e709021 — Add tests. (Ivan Enderlin, 2014-12-23)
    • #f17b1aa — New `toCode` method, without UCS-2. (Ivan Enderlin, 2014-12-23)
    • #2f875ea — Tests are green now. (Ivan Enderlin, 2014-12-23)
    • #436e804 — Use hexadecimal everywhere. (Ivan Enderlin, 2014-12-23)
    • #790dbb9 — `toBinaryCode` has a better semantics. (Ivan Enderlin, 2014-12-23)
    • #63f712b — Add tests for Hoa\String\Search. (Ivan Enderlin, 2014-12-23)
    • #a1ff879 — Review. (Ivan Enderlin, 2014-12-24)

---

Merge branch 'master' of /var/lib/git/repositories/Library/String