Merge pull request #28 from weinhold/upstream

repo_haiku: add_dependency(): Fix typo
make sure releases start numeric for haiku

otherwise a pre_release might be interpreted as a revision
treat overlong utf8 sequences as error
adapt SET_EV/SET_EVR magic to haiku for completeness
split arch from the right for debian/haiku (thanks Ingo!)
repo_haiku: do not use ":" for an empty epoch
rules/selection: use strrchr in EVR checks as well
repo_haiku: get rid of haiku_version_to_string()

Use BPackageVersion::ToString() instead.
Haiku: The notation for the pre-release version part changed

Instead of using '-' as the separator for the pre-release '~' is used
now. This allows to drop code in a few places where Haiku had to be
special-cased before.
selection_filter(): Don't leak Queue q1 and Map m2