Refactored hdc_policy

Spaghetti code reduced, hopefully more readable.
Merge branch 'ptics_time_fixes' into hdc_policy_refactoring
Merge branch 'navigation_fixes' into hdc_policy_refactoring

Conflicts:
	alex/applications/PublicTransportInfoCS/hdc_policy.py
Merge branch 'master' into hdc_policy_refactoring
Merge branch 'master' into hdc_policy_refactoring

Conflicts:
	alex/applications/PublicTransportInfoCS/hdc_slu.py
Merge branch 'master' into hdc_policy_refactoring

Conflicts:
	alex/components/dm/ontology.py
Merge branch 'master' into hdc_policy_refactoring

Conflicts:
	alex/applications/PublicTransportInfoCS/hdc_policy.py
	alex/applications/PublicTransportInfoCS/hdc_slu.py

Conflicts in hdc_policy.py fixed by hand; need to be checked.
Fix in I. P. Pavlova SLU preprocessing.
Some fixes in refactored hdc_policy
Merge branch 'master' into hdc_policy_refactoring
Removing excessive line breaks
Minor
Fix in building PTIcs LM.
Fixes according to comments
Merge branch 'hdc_policy_refactoring' of https://github.com/UFAL-DSG/alex
Trained SLU is now using sparse matrix representation.
Tunning PTIcs HDC SLU.