core:queue: remove ancient example
queue: remove inttypes clutter from core header
queue: remove unused generic functions

Closes #1153.
queue: add queue_t root type
Merge pull request #1115 from Kijewski/queue-cleanup

core:queue: clean up queue