WL#2887: Split mysys into 'system functions', 'algorithms' and 'character_sets'

Affects: Server-7.1   —   Status: Assigned

The task is to split mysys into 'system functions', 'algorithms' 
and 'character_sets'.

Rationale
---------
Code cleanup task requested by Monty.