Support logging with a tag.
Implement API.log() and other missing levels.

Switched to the new TiLogger::log(tag, msg) API.
Implement console functions.
Merge branch 'TIMOB-11581'