Register custom collation function directly to sqlite3
use localeAwareCompare for ORDER BY
Fix typo in flag name
Override sqlite like function to to a lower case latin compare.
Added Test for new sqlite like function
Merge remote-tracking branch 'upstream/master' into localeCompare

Conflicts:
	build/features.py
Make localecompare=0 for all platforms except Linux where the systems sqlite lib is used
fix typo in localecompare option name
Make use of localeAwareCompare conditonal #ifdef __SQLITE3__
use forward declarartions for som sqlite structs
Make SqliteLikeTest.PatternTest conditional #ifdef __SQLITE3__
fixed test with localecompare=0
Merge pull request #256 from daschuer/localeCompare

Merge custom comparison functionality by @daschuer.